Replace util.puts in run-tests with console.log
authorRichard van Velzen <rvanvelzen@experty.com>
Wed, 29 Jul 2015 13:24:45 +0000 (15:24 +0200)
committerRichard van Velzen <rvanvelzen@experty.com>
Wed, 29 Jul 2015 13:24:45 +0000 (15:24 +0200)
See d2dda34b2a8de310f26a26e58ed28275ba5ecc7f

test/run-tests.js

index 215f6af..d97e5cf 100755 (executable)
@@ -31,7 +31,7 @@ function tmpl() {
 
 function log() {
     var txt = tmpl.apply(this, arguments);
-    sys.puts(txt);
+    console.log("%s", txt);
 }
 
 function log_directory(dir) {