Skip to content

Commit 6577f57

Browse files
committed
Update DiffRunnerTests.cs
1 parent 238192d commit 6577f57

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

src/DiffEngine.Tests/DiffRunnerTests.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System;
1+
#if NETCOREAPP3_1
22
using System.IO;
33
using System.Linq;
44
using System.Runtime.InteropServices;
@@ -30,7 +30,6 @@ public void Kill()
3030
DiffRunner.Kill(tempFile, targetFile);
3131
#endregion
3232
}
33-
#if NETCOREAPP3_1
3433

3534
static string diffToolPath = Path.GetFullPath(Path.Combine(AssemblyLocation.CurrentDirectory, "../../../../FakeDiffTool/bin/FakeDiffTool.exe"));
3635

@@ -62,10 +61,10 @@ static bool IsRunning()
6261
Thread.Sleep(500);
6362
return ProcessCleanup.FindAll().Any(x => x.Command.Contains("FakeDiffTool"));
6463
}
65-
#endif
6664

6765
public DiffRunnerTests(ITestOutputHelper output) :
6866
base(output)
6967
{
7068
}
71-
}
69+
}
70+
#endif

0 commit comments

Comments
 (0)