Skip to content

Commit 5a61ee9

Browse files
committed
Release 5.19.0
1 parent f0d82f7 commit 5a61ee9

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/DotNext.Tests/Threading/Tasks/ConversionTests.cs

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -88,20 +88,4 @@ public static async Task SuspendExceptionParametrized()
8888
await ValueTask.FromException(new Exception()).SuspendException(42, (_, i) => i is 42).ConfigureAwait(true);
8989
await ThrowsAsync<Exception>(async () => await Task.FromException(new Exception()).SuspendException(43, (_, i) => i is 42).ConfigureAwait(true));
9090
}
91-
92-
[Fact]
93-
public static async Task SuspendException2()
94-
{
95-
var t = Task.FromException(new Exception());
96-
var result = await t.AsDynamic().ConfigureAwait(ConfigureAwaitOptions.SuppressThrowing | ConfigureAwaitOptions.ContinueOnCapturedContext);
97-
Same(result, Missing.Value);
98-
}
99-
100-
[Fact]
101-
public static async Task SuspendExceptionParametrized()
102-
{
103-
await Task.FromException(new Exception()).SuspendException(42, (_, i) => i is 42);
104-
await ValueTask.FromException(new Exception()).SuspendException(42, (_, i) => i is 42);
105-
await ThrowsAsync<Exception>(async () => await Task.FromException(new Exception()).SuspendException(43, (_, i) => i is 42));
106-
}
10791
}

0 commit comments

Comments
 (0)