Index: test/webkit/regexp-compile.js |
diff --git a/test/webkit/regexp-compile.js b/test/webkit/regexp-compile.js |
index b06ac22e192d8a029daf12128c2ac56d5f5aad1b..ec231300828e32477e2679054543ebcb8600a0ba 100644 |
--- a/test/webkit/regexp-compile.js |
+++ b/test/webkit/regexp-compile.js |
@@ -55,7 +55,7 @@ shouldBe("re.toString()", "'/c/i'"); |
shouldThrow("re.compile(new RegExp('+'));"); |
re.compile(undefined); |
-shouldBe("re.toString()", "'/undefined/'"); |
+shouldBe("re.toString()", "'/(?:)/'"); |
re.compile(null); |
shouldBe("re.toString()", "'/null/'"); |