You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-09 00:22:08 +03:00
Use console.log instead of deprecated util.print
util.print has been deprecated in node
This commit is contained in:
@@ -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]();
|
||||
|
Reference in New Issue
Block a user