mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Fix xUnit tests
This commit is contained in:
@@ -12,7 +12,19 @@ namespace PSTests
|
||||
[Fact]
|
||||
public static void TestIsLinux()
|
||||
{
|
||||
Assert.True(Platform.IsLinux());
|
||||
Assert.True(Platform.IsLinux);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public static void TestIsWindows()
|
||||
{
|
||||
Assert.False(Platform.IsWindows);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public static void TestIsCore()
|
||||
{
|
||||
Assert.True(Platform.IsCore);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
||||
Reference in New Issue
Block a user