summaryrefslogtreecommitdiff
path: root/tests/src/Common
diff options
context:
space:
mode:
authorAlexander Köplinger <alex.koeplinger@outlook.com>2015-11-02 20:55:33 +0100
committerAlexander Köplinger <alex.koeplinger@outlook.com>2015-11-02 20:55:33 +0100
commit3b71e0d929f52aaa858223218c353e95ecaac7fa (patch)
tree2ea27854e56cc9bb24645abfde668e9eb14c6ea4 /tests/src/Common
parent83b2cb83b32faa45b4f790237b5c5e259692294a (diff)
downloadcoreclr-3b71e0d929f52aaa858223218c353e95ecaac7fa.tar.gz
coreclr-3b71e0d929f52aaa858223218c353e95ecaac7fa.tar.bz2
coreclr-3b71e0d929f52aaa858223218c353e95ecaac7fa.zip
Fix hardcoded Utilities.IsWindows property
This could probably use the new RuntimeInformation API in the future, but since this would require touching project.json and bringing in a new dependency I decided to go with the simple fix for now :)
Diffstat (limited to 'tests/src/Common')
-rw-r--r--tests/src/Common/CoreCLRTestLibrary/Utilities.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/Common/CoreCLRTestLibrary/Utilities.cs b/tests/src/Common/CoreCLRTestLibrary/Utilities.cs
index 0ab52c5406..b5fb796835 100644
--- a/tests/src/Common/CoreCLRTestLibrary/Utilities.cs
+++ b/tests/src/Common/CoreCLRTestLibrary/Utilities.cs
@@ -76,7 +76,7 @@ namespace TestLibrary
[SecuritySafeCritical]
get
{
- return true;
+ return Path.DirectorySeparatorChar == '\\';
}
}