diff --git a/test/built-ins/Date/prototype/toDateString/format.js b/test/built-ins/Date/prototype/toDateString/format.js index 540ff38855c59ce976ade0a345d3adc7134d7ed8..e14135453ac1e3be3e57eff15ff524df4fad43be 100644 --- a/test/built-ins/Date/prototype/toDateString/format.js +++ b/test/built-ins/Date/prototype/toDateString/format.js @@ -15,5 +15,5 @@ let match = dateRegExp.exec(new Date().toDateString()); assert.notSameValue(null, match); // Years are padded to the left with zeroes -match = stringRegExp.exec(new Date('0020-01-01T00:00:00Z').toDateString()); +match = dateRegExp.exec(new Date('0020-01-01T00:00:00Z').toDateString()); assert.notSameValue(null, match);