Index: test/webkit/instance-of-immediates-expected.txt |
diff --git a/test/webkit/instance-of-immediates-expected.txt b/test/webkit/instance-of-immediates-expected.txt |
index db58f00d304bece80b1691aaee65db77b744b89e..c713b353514960628fd9143290193c0d33baa898 100644 |
--- a/test/webkit/instance-of-immediates-expected.txt |
+++ b/test/webkit/instance-of-immediates-expected.txt |
@@ -26,12 +26,12 @@ This test makes sure that instance of behaves correctly when the value, construc |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
-PASS (1 instanceof 1) threw exception TypeError: Expecting a function in instanceof check, but got 1. |
-PASS ({} instanceof 1) threw exception TypeError: Expecting a function in instanceof check, but got 1. |
-PASS (obj instanceof 1) threw exception TypeError: Expecting a function in instanceof check, but got 1. |
-PASS (1 instanceof {}) threw exception TypeError: Expecting a function in instanceof check, but got #<Object>. |
-PASS ({} instanceof {}) threw exception TypeError: Expecting a function in instanceof check, but got #<Object>. |
-PASS (obj instanceof {}) threw exception TypeError: Expecting a function in instanceof check, but got #<Object>. |
+PASS (1 instanceof 1) threw exception TypeError: Right-hand side of 'instanceof' is not an object. |
+PASS ({} instanceof 1) threw exception TypeError: Right-hand side of 'instanceof' is not an object. |
+PASS (obj instanceof 1) threw exception TypeError: Right-hand side of 'instanceof' is not an object. |
+PASS (1 instanceof {}) threw exception TypeError: Right-hand side of 'instanceof' is not callable. |
+PASS ({} instanceof {}) threw exception TypeError: Right-hand side of 'instanceof' is not callable. |
+PASS (obj instanceof {}) threw exception TypeError: Right-hand side of 'instanceof' is not callable. |
PASS (1 instanceof Constructor) is false |
PASS ({} instanceof Constructor) is false |
PASS (obj instanceof Constructor) is true |