|
@@ -14,13 +14,12 @@ try {
|
|
|
message: "Can't convert symbol to string",
|
|
|
});
|
|
|
|
|
|
- // FIXME: Uncomment when this doesn't assert
|
|
|
- // assertThrowsError(() => {
|
|
|
- // s1 + 1;
|
|
|
- // }, {
|
|
|
- // error: TypeError,
|
|
|
- // message: "Can't convert symbol to number",
|
|
|
- // });
|
|
|
+ assertThrowsError(() => {
|
|
|
+ s1 + 1;
|
|
|
+ }, {
|
|
|
+ error: TypeError,
|
|
|
+ message: "Can't convert symbol to number",
|
|
|
+ });
|
|
|
|
|
|
console.log("PASS");
|
|
|
} catch (e) {
|