Pārlūkot izejas kodu

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

Simon Krajewski 10 gadi atpakaļ
vecāks
revīzija
811f230b08
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. 3 0
      tests/sys/src/TestFileSystem.hx

+ 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:";