Skip to content

Commit a706cec

Browse files
committed
fix test
1 parent 34a4144 commit a706cec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ test('strptime returns Date', () => {
1111
test('strptime throws on parse error', () => {
1212
assert.throws(() => strptime('xxxx', '%Y-%m-%d'), /Failed to parse/);
1313
assert.throws(() => strptime('xxxx'), /Missing format/);
14-
assert.throws(() => strptime('2012', '%"unknown"'), /Unknown format descripter: "unknown"/);
14+
assert.throws(() => strptime('2012', '%"unknown"'), /Unknown format descriptor: "unknown"/);
1515
});
1616

1717
function testDate(strings, date) {

0 commit comments

Comments
 (0)