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