From 0908e9a46bb1c681410d63fa00da3c9a6b703f43 Mon Sep 17 00:00:00 2001 From: Ruben Bridgewater Date: Wed, 22 Jul 2015 16:27:05 +0200 Subject: [PATCH] Use console.log instead of deprecated util.print util.print has been deprecated in node --- test/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.js b/test/test.js index 7bb2966ff8..5bcc32fd51 100644 --- a/test/test.js +++ b/test/test.js @@ -2345,7 +2345,7 @@ test_count = 0; run_next_test = function run_next_test() { var test_name = all_tests.shift(); if (typeof tests[test_name] === "function") { - util.print('- \x1b[1m' + test_name.toLowerCase() + '\x1b[0m:'); + console.log('- \x1b[1m' + test_name.toLowerCase() + '\x1b[0m:'); cur_start = new Date(); test_count += 1; tests[test_name]();