Skip to content

Commit 0908e9a

Browse files
author
Ruben Bridgewater
committed
Use console.log instead of deprecated util.print
util.print has been deprecated in node
1 parent 745fcce commit 0908e9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2345,7 +2345,7 @@ test_count = 0;
23452345
run_next_test = function run_next_test() {
23462346
var test_name = all_tests.shift();
23472347
if (typeof tests[test_name] === "function") {
2348-
util.print('- \x1b[1m' + test_name.toLowerCase() + '\x1b[0m:');
2348+
console.log('- \x1b[1m' + test_name.toLowerCase() + '\x1b[0m:');
23492349
cur_start = new Date();
23502350
test_count += 1;
23512351
tests[test_name]();

0 commit comments

Comments
 (0)