Skip to content

Commit 38e8fa0

Browse files
committed
Fixed exception type
1 parent 5a71f3b commit 38e8fa0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DotNext.Tests/Threading/Leases/LeaseTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ public static async Task DisposeConcurrently()
172172
token = provider.Token;
173173
}
174174

175-
await ThrowsAsync<ObjectDisposedException>(Func.Constant(task));
175+
await ThrowsAnyAsync<ObjectDisposedException>(Func.Constant(task));
176176
True(token.IsCancellationRequested);
177177
}
178178

0 commit comments

Comments
 (0)