Index: test/webkit/prototypes.js |
diff --git a/test/webkit/prototypes.js b/test/webkit/prototypes.js |
index 9e62c3a52ee4bef1ae52c6a445b4927f9dcf9d7f..26ae286df69b1d3ac7d1a7fd3a994f7f66140168 100644 |
--- a/test/webkit/prototypes.js |
+++ b/test/webkit/prototypes.js |
@@ -43,8 +43,8 @@ |
shouldBe("Number.__proto__", "Object.__proto__"); |
shouldBe("String.__proto__", "Object.__proto__"); |
-shouldBe("Object.getPrototypeOf('')", "String.prototype"); |
-shouldBe("Object.getPrototypeOf(0)", "Number.prototype"); |
+shouldThrow("Object.getPrototypeOf('')"); |
+shouldThrow("Object.getPrototypeOf(0)"); |
shouldBe("Object.getPrototypeOf([])", "Array.prototype"); |
shouldBe("Object.getPrototypeOf({})", "Object.prototype"); |
shouldBe("Object.getPrototypeOf(new Date)", "Date.prototype"); |