Skip to content

Commit

Permalink
A test had the wrong notation for the date parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Young committed Jul 18, 2012
1 parent df29827 commit b102ef4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/helpers.test.js
Expand Up @@ -80,9 +80,9 @@ exports['test hNews'] = function() {
};

exports['test date helpers'] = function() {
var date = (1970, 1, 1, 1, 1);
var date = [1970, 0, 1, 1, 1];
assert.equal(helpers.ds(date), '01 January 1970');
assert.equal(helpers.dx(date), '1970-01-01T00:01:00Z');
assert.equal(helpers.dx(date), '1970-01-01T01:01:00Z');
};

exports['test html escape'] = function() {
Expand Down

0 comments on commit b102ef4

Please sign in to comment.