Skip to content

Commit 0c24c09

Browse files
committed
.
1 parent 0bdde08 commit 0c24c09

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

src/Directory.Build.props

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project>
33
<PropertyGroup>
4-
<Version>28.14.0-beta.6</Version>
4+
<Version>28.14.0-beta.7</Version>
55
<NoWarn>CA1822;CS1591;CS0649;xUnit1026;xUnit1013;CS1573;VerifyTestsProjectDir;VerifySetParameters;PolyFillTargetsForNuget;xUnit1051</NoWarn>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<LangVersion>preview</LangVersion>

src/Verify.NUnit/DanglingSnapshots.cs

+2-8
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22

33
public static class DanglingSnapshots
44
{
5-
public static void Run()
6-
{
7-
var state = TestExecutionContext.CurrentContext.CurrentResult.ResultState;
8-
if (state == ResultState.Success)
9-
{
10-
DanglingSnapshotsCheck.Run();
11-
}
12-
}
5+
public static void Run() =>
6+
DanglingSnapshotsCheck.Run();
137
}

0 commit comments

Comments
 (0)