Skip to content

Commit

Permalink
Update VerifyBase.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Apr 12, 2024
1 parent add41fb commit 09311f5
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/Verify.MSTest/VerifyBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ static VerifyBase()
public TestContext TestContext
{
get => testContext;
set
init
{
testContext = value;
currentTestContext.Value = value;
Expand Down Expand Up @@ -127,9 +127,4 @@ SettingsTask Verify(
return await verify(verifier);
});
}

[TestCleanup]
[Experimental("NotForPublicUse")]
public void CleanupVerifyTestContext() =>
currentTestContext.Value = null;
}

0 comments on commit 09311f5

Please sign in to comment.