Remove usage of TestPlatformHelper
This commit is contained in:
parent
9f1af65abc
commit
20723c4067
|
|
@ -36,7 +36,9 @@ namespace Microsoft.AspNet.Diagnostics
|
|||
"TestFiles/SourceFile.txt"
|
||||
};
|
||||
|
||||
if (!(TestPlatformHelper.IsLinux || TestPlatformHelper.IsMac))
|
||||
var OSPlatform = PlatformServices.Default.Runtime.OperatingSystemPlatform;
|
||||
|
||||
if (!(OSPlatform == Platform.Linux || OSPlatform == Platform.Darwin))
|
||||
{
|
||||
data.Add(@"TestFiles\SourceFile.txt");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue