Maybe type?

This commit is contained in:
samtrion 2019-12-06 13:01:10 +01:00 committed by Ben Adams
parent 4f9f191f7f
commit 5fdf1f41ad

View File

@ -86,7 +86,6 @@ namespace Ben.Demystifier.Test
Assert.Equal(expected, trace); Assert.Equal(expected, trace);
} }
[Fact] [Fact]
public void DemistifiesMethodWithAsyncLambda() public void DemistifiesMethodWithAsyncLambda()
{ {
@ -120,7 +119,7 @@ namespace Ben.Demystifier.Test
private void MethodWithLambda() private void MethodWithLambda()
{ {
Action action = () => throw new ArgumentException(); Func<bool> action = () => throw new ArgumentException();
action(); action();
} }