Skip to content

Commit 95e745d

Browse files
committed
Update DiffRunnerTests.cs
1 parent f8011bb commit 95e745d

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

src/DiffEngine.Tests/DiffRunnerTests.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
using System.IO;
1+
using System;
2+
using System.IO;
23
using System.Linq;
4+
using System.Runtime.InteropServices;
35
using System.Threading;
46
using DiffEngine;
57
using Xunit;
@@ -35,6 +37,10 @@ public void Kill()
3537
[Fact]
3638
public void LaunchAndKill()
3739
{
40+
if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
41+
{
42+
return;
43+
}
3844
DiffTools.AddCustomTool(
3945
supportsAutoRefresh: true,
4046
isMdi: false,

0 commit comments

Comments
 (0)