diff --git a/test/intl402/NumberFormat/prototype/format/this-value-not-numberformat.js b/test/intl402/NumberFormat/prototype/format/this-value-not-numberformat.js index 50e9c2ac077df815112688c44587d5c093307eaf..3e7cb30772b970edae53ba62e1566f8ce5ee4e50 100644 --- a/test/intl402/NumberFormat/prototype/format/this-value-not-numberformat.js +++ b/test/intl402/NumberFormat/prototype/format/this-value-not-numberformat.js @@ -16,6 +16,6 @@ invalidTargets.forEach(target => { assert.throws( TypeError, () => fn.call(target), - `Calling format getter on ${target} was not rejected.` + `Calling format getter on ${target} should throw a TypeError.` ); }); diff --git a/test/intl402/NumberFormat/prototype/formatToParts/this-value-not-numberformat.js b/test/intl402/NumberFormat/prototype/formatToParts/this-value-not-numberformat.js index 2bba25c1f7a8326a6c43778b498129ed8c852e56..3e095893eab2fa0f546024b96da479e075b9512d 100644 --- a/test/intl402/NumberFormat/prototype/formatToParts/this-value-not-numberformat.js +++ b/test/intl402/NumberFormat/prototype/formatToParts/this-value-not-numberformat.js @@ -16,6 +16,6 @@ invalidTargets.forEach(target => { assert.throws( TypeError, () => fn.call(target), - `Calling formatToParts on ${target} was not rejected.` + `Calling formatToParts on ${target} should throw a TypeError.` ); }); diff --git a/test/intl402/NumberFormat/prototype/resolvedOptions/this-value-not-numberformat.js b/test/intl402/NumberFormat/prototype/resolvedOptions/this-value-not-numberformat.js index bed737badd357a40fddc899e9b317bfa29a08f57..28f41cf54ce28f70c658237f0b22a77098ba088d 100644 --- a/test/intl402/NumberFormat/prototype/resolvedOptions/this-value-not-numberformat.js +++ b/test/intl402/NumberFormat/prototype/resolvedOptions/this-value-not-numberformat.js @@ -16,6 +16,6 @@ invalidTargets.forEach(target => { assert.throws( TypeError, () => fn.call(target), - `Calling resolvedOptions on ${target} was not rejected.` + `Calling resolvedOptions on ${target} should throw a TypeError.` ); });