Skip to content

Commit 310ccfe

Browse files
committed
Update DiffRunnerTests.cs
1 parent f74f3c3 commit 310ccfe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/DiffEngine.Tests/DiffRunnerTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ public async Task MaxInstancesToLaunch()
1515
{
1616
await Task.Delay(500);
1717
ProcessCleanup.Refresh();
18-
var result = DiffRunner.Launch(file1, "fake.txt");
18+
var result = await DiffRunner.LaunchAsync(file1, "fake.txt");
1919
await Task.Delay(300);
2020
Assert.Equal(LaunchResult.StartedNewInstance, result);
2121
ProcessCleanup.Refresh();
22-
result = DiffRunner.Launch(file2, "fake.txt");
22+
result = await DiffRunner.LaunchAsync(file2, "fake.txt");
2323
Assert.Equal(LaunchResult.TooManyRunningDiffTools, result);
2424
ProcessCleanup.Refresh();
2525
DiffRunner.Kill(file1, "fake.txt");

0 commit comments

Comments
 (0)