2020-03-24 19:08:37 +01:00
|
|
|
// Copyright (c) Microsoft Corporation.
|
2018-02-13 18:23:53 +01:00
|
|
|
// Licensed under the MIT License.
|
2018-12-18 17:11:21 +01:00
|
|
|
|
2015-07-21 02:02:23 +02:00
|
|
|
using System;
|
|
|
|
using System.Management.Automation;
|
2018-12-18 17:11:21 +01:00
|
|
|
using Xunit;
|
2015-07-21 02:02:23 +02:00
|
|
|
|
2018-01-03 21:43:28 +01:00
|
|
|
namespace PSTests.Parallel
|
2015-07-21 02:02:23 +02:00
|
|
|
{
|
|
|
|
public static class PSVersionInfoTests
|
|
|
|
{
|
|
|
|
[Fact]
|
|
|
|
public static void TestVersions()
|
|
|
|
{
|
|
|
|
// test that a non-null version table is returned, and
|
|
|
|
// that it does not throw
|
|
|
|
Assert.NotNull(PSVersionInfo.GetPSVersionTable());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|