1
0
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:
Ruben Bridgewater
2015-07-22 16:27:05 +02:00
parent 745fccebfb
commit 0908e9a46b

View File

@@ -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]();