From a5172bd3b054f725564874f77937d8ffbff13b63 Mon Sep 17 00:00:00 2001 From: gstamac Date: Fri, 23 Aug 2013 13:48:36 +0200 Subject: [PATCH] Mode_Redis: fixed date difference logging --- node_redis/node_redis-tests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node_redis/node_redis-tests.ts b/node_redis/node_redis-tests.ts index 1758f5eb5..4dcd43281 100644 --- a/node_redis/node_redis-tests.ts +++ b/node_redis/node_redis-tests.ts @@ -1802,7 +1802,7 @@ run_next_test = function run_next_test() { test_count += 1; tests[test_name](); } else { - console.log('\n completed \x1b[32m%d\x1b[0m tests in \x1b[33m%d\x1b[0m ms\n', test_count, new Date() - all_start); + console.log('\n completed \x1b[32m%d\x1b[0m tests in \x1b[33m%d\x1b[0m ms\n', test_count, Date.now() - all_start); client.quit(); client2.quit(); }