diff --git a/src/monad b/src/monad index 0ac8456bcf..1a2fa0af44 160000 --- a/src/monad +++ b/src/monad @@ -1 +1 @@ -Subproject commit 0ac8456bcf187604356f3d2a7af85d9396e07bd8 +Subproject commit 1a2fa0af446bf6adda0400fc54b5529afe58ef19 diff --git a/src/ps_test/test_CorePsExtensions.cs b/src/ps_test/test_CorePsExtensions.cs new file mode 100644 index 0000000000..2a736d7f9b --- /dev/null +++ b/src/ps_test/test_CorePsExtensions.cs @@ -0,0 +1,19 @@ +using Xunit; +using System; +using System.Management.Automation; + +namespace PSTests +{ + public static class CorePsExtensionsTests + { + [Fact] + public static void TestEnvironmentOSVersion() + { + // this test primarily checks that there is no exception thrown + // NOTE: the type name is explicitly written here to make clear what + // type and function is tested + System.Management.Automation.Environment.OperatingSystem os = System.Management.Automation.Environment.OSVersion; + Assert.NotNull(os); + } + } +}