瀏覽代碼

fix js tests

Dan Korostelev 8 年之前
父節點
當前提交
0610880934
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      tests/optimization/src/TestJs.hx

+ 3 - 3
tests/optimization/src/TestJs.hx

@@ -348,12 +348,12 @@ class TestJs {
 		//use(a);
 	//}
 
-	@:js('
+	@:js("
 		TestJs.getInt();
 		if(TestJs.getInt() != 0) {
-			throw new js__$Boot_HaxeError("meh");
+			throw new js__$Boot_HaxeError(\"meh\");
 		}
-	')
+	")
 	static function testIfInvert() {
 		var tmp;
 		var tmp2 = getInt();