mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 20:56:02 +00:00
* Initial work to enable xunit * Moved AssemblyOriginatorKeyFile to csharp.tests.csproj * Native binary has dylib extension on macOS
18 lines
338 B
C#
18 lines
338 B
C#
using Xunit;
|
|
using System;
|
|
using System.Management.Automation;
|
|
using System.Reflection;
|
|
|
|
namespace PSTests
|
|
{
|
|
public static class UtilsTests
|
|
{
|
|
[SkippableFact]
|
|
public static void TestIsWinPEHost()
|
|
{
|
|
Skip.IfNot(Platform.IsWindows);
|
|
Assert.False(Utils.IsWinPEHost());
|
|
}
|
|
}
|
|
}
|