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 50e9c2ac07..3e7cb30772 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 2bba25c1f7..3e095893ea 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 bed737badd..28f41cf54c 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.` ); });