diff options
Diffstat (limited to 'deps/v8/test/intl/regress-10438.js')
-rw-r--r-- | deps/v8/test/intl/regress-10438.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/test/intl/regress-10438.js b/deps/v8/test/intl/regress-10438.js index 0aafe4d700..a1bdf36f70 100644 --- a/deps/v8/test/intl/regress-10438.js +++ b/deps/v8/test/intl/regress-10438.js @@ -44,10 +44,10 @@ assertThrows( () => (new Intl.DateTimeFormat( "en", {timeStyle: "short", fractionalSecondDigits: 3})), TypeError, - "Invalid option : timeStyle"); + "Can't set option fractionalSecondDigits when timeStyle is used"); assertThrows( () => (new Intl.DateTimeFormat( "en", {dateStyle: "short", fractionalSecondDigits: 3})), TypeError, - "Invalid option : dateStyle"); + "Can't set option fractionalSecondDigits when dateStyle is used"); |