Skip to content

Commit

Permalink
Rephrase test.
Browse files Browse the repository at this point in the history
  • Loading branch information
jasondavies committed Aug 23, 2013
1 parent 8f4d0ac commit bc75ddb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/time/format-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ suite.addBatch({
assert.deepEqual(p("% 02/03/1991"), local(1991, 1, 3));
assert.isNull(p("%% 03/10/2010"));
},
"parses padding modifier": function(format) {
"ignores optional padding modifier, skipping zeroes and spaces": function(format) {
var p = format("%-m/%0d/%_Y").parse;
assert.deepEqual(p("01/ 1/1990"), local(1990, 0, 1));
},
Expand Down

0 comments on commit bc75ddb

Please sign in to comment.