Skip to content

Commit 7245e57

Browse files
committed
Adjust deprecated method
1 parent 70abf5d commit 7245e57

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

GraphEngine.Tests/SwitchTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,6 @@ public void All()
7272
Assert.AreEqual(typeof(SampleClass), actual.Type);
7373

7474
// Make sure custom comparison is used
75-
Assert.ThrowsException<TargetInvocationException>(() => LinqExpression.Lambda(actual).Compile().DynamicInvoke());
75+
Assert.Throws<TargetInvocationException>(() => LinqExpression.Lambda(actual).Compile().DynamicInvoke());
7676
}
7777
}

0 commit comments

Comments
 (0)