initial
This commit is contained in:
commit
baa0056244
352 changed files with 47928 additions and 0 deletions
|
|
@ -0,0 +1,21 @@
|
|||
// Copyright (c) Microsoft Corporation.
|
||||
// Licensed under the MIT License.
|
||||
|
||||
using Microsoft.PowerShell.EditorServices.Utility;
|
||||
using Xunit;
|
||||
|
||||
namespace Microsoft.PowerShell.EditorServices.Test.Utility
|
||||
{
|
||||
public class VersionUtilsTests
|
||||
{
|
||||
[Trait("Category", "VersionUtils")]
|
||||
[Fact]
|
||||
public void IsNetCoreTest() =>
|
||||
#if CoreCLR
|
||||
Assert.True(VersionUtils.IsNetCore);
|
||||
#else
|
||||
Assert.False(VersionUtils.IsNetCore);
|
||||
#endif
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue