mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
Fix xUnit tests
This commit is contained in:
1 parent
13e0760e16
commit
8c7174de10
1 file changed
+13
-1
@@ -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