We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23fa9be commit 7915051Copy full SHA for 7915051
exercises/practice/bank-account/BankAccountTests.cs
@@ -162,7 +162,7 @@ public async Task Can_handle_concurrent_transactions()
162
account.Deposit(1m);
163
account.Withdraw(1m);
164
}
165
- }));
+ }, TestContext.Current.CancellationToken));
166
await Task.WhenAll(tasks.ToArray());
167
168
Assert.Equal(0m, account.Balance);
0 commit comments