Skip to content

Commit c3fa3e7

Browse files
committed
Code cleanup.
1 parent 1e1b31d commit c3fa3e7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Provider/src/FirebirdSql.Data.FirebirdClient.Tests/FbCommandTests.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,6 @@ public async Task CommandCancellationTest()
566566
return;
567567

568568
var cancelled = false;
569-
570569
await using (var cmd = Connection.CreateCommand())
571570
{
572571
cmd.CommandText =
@@ -595,8 +594,8 @@ async Task Execute()
595594
cmd.Cancel();
596595
Thread.Sleep(2000);
597596
await executeTask;
598-
Assert.IsTrue(cancelled);
599597
}
598+
Assert.IsTrue(cancelled);
600599
}
601600

602601
[Test]

0 commit comments

Comments
 (0)