Skip to content

Commit

Permalink
made wording regular across tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-allen committed Aug 22, 2023
1 parent 37376cf commit 37c65c8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
6 changes: 3 additions & 3 deletions test/intl402/DisplayNames/prototype/of/type-script-invalid.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 37c65c8

Please sign in to comment.