From 8c7174de1064b7df6cd6ee91d9d01a376b3b7747 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Fri, 8 Apr 2016 15:22:37 -0700 Subject: [PATCH] Fix xUnit tests --- test/csharp/test_CorePsPlatform.cs | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/test/csharp/test_CorePsPlatform.cs b/test/csharp/test_CorePsPlatform.cs index e36f5aa4f6..a99c3b0f97 100644 --- a/test/csharp/test_CorePsPlatform.cs +++ b/test/csharp/test_CorePsPlatform.cs @@ -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]