Fix tests
authorMihai Bazon <mihai.bazon@gmail.com>
Mon, 12 Oct 2015 07:27:00 +0000 (10:27 +0300)
committerMihai Bazon <mihai.bazon@gmail.com>
Mon, 12 Oct 2015 07:27:00 +0000 (10:27 +0300)
test/run-tests.js

index fc7476f..818a65e 100755 (executable)
@@ -190,7 +190,7 @@ function parse_test(file) {
 
 function make_code(ast, beautify) {
     if (arguments.length == 1) beautify = true;
-    var stream = U.OutputStream({ beautify: beautify });
+    var stream = U.OutputStream({ beautify: beautify, inline_script: true });
     ast.print(stream);
     return stream.get();
 }