Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

test: fix test-sys.js fails if the time zone is except CET

  • Loading branch information...
commit 97374ce0625fedeb4b0c3292069ed25eeef1c288 1 parent b962ff3
@koichik authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  test/simple/test-sys.js
View
2  test/simple/test-sys.js
@@ -31,7 +31,7 @@ assert.equal('[Function]', common.inspect(function() {}));
assert.equal('undefined', common.inspect(undefined));
assert.equal('null', common.inspect(null));
assert.equal('/foo(bar\\n)?/gi', common.inspect(/foo(bar\n)?/gi));
-assert.equal('Sun Feb 14 2010 12:48:40 GMT+0100 (CET)',
+assert.equal(new Date('2010-02-14T12:48:40+01:00').toString(),
common.inspect(new Date('Sun, 14 Feb 2010 11:48:40 GMT')));
assert.equal("'\\n\\u0001'", common.inspect('\n\u0001'));
Please sign in to comment.
Something went wrong with that request. Please try again.