Index: test/mjsunit/object-toprimitive.js |
diff --git a/test/mjsunit/object-toprimitive.js b/test/mjsunit/object-toprimitive.js |
index 3a67ced47e72ba359f0be71801eb1a6d013a7484..34803ec93482668a13b3ec27303054505110ab93 100644 |
--- a/test/mjsunit/object-toprimitive.js |
+++ b/test/mjsunit/object-toprimitive.js |
@@ -102,3 +102,5 @@ trace = []; |
var nt = Number(ot); |
assertEquals(87, nt); |
assertEquals(["gvo", "gts", "ts"], trace); |
+ |
+assertThrows('Number(Symbol())', TypeError); |