2
0
Эх сурвалжийг харах

do not try to run Windows path tests when not on Windows

Simon Krajewski 10 жил өмнө
parent
commit
811f230b08

+ 3 - 0
tests/sys/src/TestFileSystem.hx

@@ -93,6 +93,9 @@ class TestFileSystem extends haxe.unit.TestCase {
 	}
 
 	function testWindowsSpecialCases() {
+		if (Sys.systemName() != "Windows") {
+			return;
+		}
 		var withSlash = "C:/";
 		var withBackslash = "C:\\";
 		var without = "C:";