From b037c16f55c3f03a52f85d6ba0a748eb11b7ec21 Mon Sep 17 00:00:00 2001 From: koichik Date: Wed, 28 Dec 2011 15:18:11 +0900 Subject: [PATCH] test: fix test-sys.js fails if the time zone is not CET Fixes #2423. --- test/simple/test-sys.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/simple/test-sys.js b/test/simple/test-sys.js index 7f73235bb8a..7f023c1a619 100644 --- a/test/simple/test-sys.js +++ b/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'));