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

run JS-specific tests only on JS

Simon Krajewski 9 жил өмнө
parent
commit
985a1b4bf1

+ 2 - 0
tests/unit/src/unit/issues/Issue4397.hx

@@ -3,6 +3,7 @@ package unit.issues;
 using unit.issues.Issue4397;
 
 class Issue4397 extends Test {
+	#if js
 	function test() {
 		0.toFixed();
 	}
@@ -10,4 +11,5 @@ class Issue4397 extends Test {
     static inline function toFixed(f:Float):String {
         return (cast f).toFixed();
     }
+	#end
 }