We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34a4144 commit a706cecCopy full SHA for a706cec
test/test.js
@@ -11,7 +11,7 @@ test('strptime returns Date', () => {
11
test('strptime throws on parse error', () => {
12
assert.throws(() => strptime('xxxx', '%Y-%m-%d'), /Failed to parse/);
13
assert.throws(() => strptime('xxxx'), /Missing format/);
14
- assert.throws(() => strptime('2012', '%"unknown"'), /Unknown format descripter: "unknown"/);
+ assert.throws(() => strptime('2012', '%"unknown"'), /Unknown format descriptor: "unknown"/);
15
});
16
17
function testDate(strings, date) {
0 commit comments