Updating error messages

This commit is contained in:
Caio Lima 2018-05-08 22:58:18 -03:00
parent 340dfba5dc
commit c93caac30b
2 changed files with 4 additions and 4 deletions

View File

@ -9,9 +9,9 @@ features: [BigInt, Symbol]
assert.throws(TypeError, function() {
3n > Symbol("2");
}, "ToNumeric(rhs) throws.");
}, "ToNumeric(Symbol) on RHS throws.");
assert.throws(TypeError, function() {
Symbol("2") > 3n;
}, "ToNumeric(rhs) throws.");
}, "ToNumeric(Symbol) on LHS throws.");

View File

@ -11,9 +11,9 @@ function MyError() {}
assert.throws(TypeError, function() {
3n < Symbol("2");
}, "ToNumeric(rhs) throws.");
}, "ToNumeric(Symbol) on RHS throws.");
assert.throws(TypeError, function() {
Symbol("2") < 3n;
}, "ToNumeric(rhs) throws.");
}, "ToNumeric(Symbol) on LHS throws.");