diff --git a/test/intl402/DisplayNames/prototype/of/type-currency-invalid.js b/test/intl402/DisplayNames/prototype/of/type-currency-invalid.js index 8c367aa8802..7290e166a0d 100644 --- a/test/intl402/DisplayNames/prototype/of/type-currency-invalid.js +++ b/test/intl402/DisplayNames/prototype/of/type-currency-invalid.js @@ -53,10 +53,6 @@ assert.throws(RangeError, function() { displayNames.of('_aaa'); }, 'leading separator (underscore)'); -assert.throws(RangeError, function() { - displayNames.of('aaa-'); -}, 'trailing separator (dash)'); - assert.throws(RangeError, function() { displayNames.of('aaa_'); }, 'trailing separator (underscore)'); diff --git a/test/intl402/DisplayNames/prototype/of/type-region-invalid.js b/test/intl402/DisplayNames/prototype/of/type-region-invalid.js index aba3335d3e5..7836d65cd29 100644 --- a/test/intl402/DisplayNames/prototype/of/type-region-invalid.js +++ b/test/intl402/DisplayNames/prototype/of/type-region-invalid.js @@ -64,7 +64,7 @@ assert.throws(RangeError, function() { }, 'trailing separator (dash)'); assert.throws(RangeError, function() { - displayNames.of('111-'); + displayNames.of('111_'); }, 'trailing separator (underscore)'); assert.throws(RangeError, function() { diff --git a/test/intl402/DisplayNames/prototype/of/type-script-invalid.js b/test/intl402/DisplayNames/prototype/of/type-script-invalid.js index 427129c06b9..cae709c0433 100644 --- a/test/intl402/DisplayNames/prototype/of/type-script-invalid.js +++ b/test/intl402/DisplayNames/prototype/of/type-script-invalid.js @@ -41,15 +41,15 @@ assert.throws(RangeError, function() { assert.throws(RangeError, function() { displayNames.of('aaaa-'); -}, 'trailing separator, -'); +}, 'trailing separator (dash)'); assert.throws(RangeError, function() { displayNames.of('_aaaa'); -}, 'leading separator, _'); +}, 'leading separator (underscore)'); assert.throws(RangeError, function() { displayNames.of('aaaa_'); -}, 'trailing separator, _'); +}, 'trailing separator (underscore)'); assert.throws(RangeError, function() { displayNames.of('aa a');