We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70abf5d commit 7245e57Copy full SHA for 7245e57
1 file changed
GraphEngine.Tests/SwitchTests.cs
@@ -72,6 +72,6 @@ public void All()
72
Assert.AreEqual(typeof(SampleClass), actual.Type);
73
74
// Make sure custom comparison is used
75
- Assert.ThrowsException<TargetInvocationException>(() => LinqExpression.Lambda(actual).Compile().DynamicInvoke());
+ Assert.Throws<TargetInvocationException>(() => LinqExpression.Lambda(actual).Compile().DynamicInvoke());
76
}
77
0 commit comments