Browse Source

fix js tests

Dan Korostelev 8 years ago
parent
commit
0610880934
1 changed files with 3 additions and 3 deletions
  1. 3 3
      tests/optimization/src/TestJs.hx

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

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