Skip to content

Commit

Permalink
Update VersionTest.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Nov 15, 2024
1 parent ef9a93a commit 1acb08b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/DiffEngine.Tests/VersionTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
[Fact]
public void Run()
{
#if NET6_0_OR_GREATER
// because v9 throw "windows not supported" for .net 6
var version = typeof(System.Management.ManagementObject).Assembly.GetName().Version!;
Assert.Equal("8.0.0.0", version.ToString());
#endif
}
}

0 comments on commit 1acb08b

Please sign in to comment.