We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66bbc9a commit 02cf348Copy full SHA for 02cf348
1 file changed
bench/Autofac.Extras.DynamicProxy.Benchmarks/Harness.cs
@@ -33,13 +33,15 @@ public class Harness
33
[Fact]
34
public void ClassInterception()
35
{
36
- BenchmarkRunner.Run<ClassInterceptionBenchmark>();
+ var exception = Record.Exception(() => BenchmarkRunner.Run<ClassInterceptionBenchmark>());
37
+ Assert.Null(exception);
38
}
39
40
41
public void InterfaceInterception()
42
- BenchmarkRunner.Run<InterfaceInterceptionBenchmark>();
43
+ var exception = Record.Exception(() => BenchmarkRunner.Run<InterfaceInterceptionBenchmark>());
44
45
46
47
0 commit comments