Skip to content

Commit 4769169

Browse files
committed
Cleanup
1 parent ad0e1c1 commit 4769169

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Main/tests-performance/Assertions/DebugCodeAssertionsPerformanceTest.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System;
2-
using System.Diagnostics.CodeAnalysis;
32

43
using BenchmarkDotNet.Attributes;
54
using BenchmarkDotNet.NUnit;

Main/tests/Assertions/CodeAssertionsTest.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,11 @@ public void TestDebugNotNull()
5555
var ex = Assert.Throws<ArgumentNullException>(() => DebugCode.NotNull<object>(null, "someUniqueArgName"));
5656
Assert.That(ex.Message.Contains("someUniqueArgName"));
5757
#else
58+
// ReSharper disable once InvocationIsSkipped
5859
Assert.DoesNotThrow(() => DebugCode.NotNull<object>(null, "someUniqueArgName"));
5960
#endif
6061

62+
// ReSharper disable once InvocationIsSkipped
6163
Assert.DoesNotThrow(() => DebugCode.NotNull<object>("Hello!", "someUniqueArgName"));
6264
}
6365

0 commit comments

Comments
 (0)