Remove usage of TestPlatformHelper

This commit is contained in:
John Luo 2015-12-23 12:11:44 -08:00
parent 9f1af65abc
commit 20723c4067
1 changed files with 3 additions and 1 deletions

View File

@ -36,7 +36,9 @@ namespace Microsoft.AspNet.Diagnostics
"TestFiles/SourceFile.txt" "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"); data.Add(@"TestFiles\SourceFile.txt");
} }