Index: test/webkit/fast/regex/constructor-expected.txt |
diff --git a/test/webkit/array-constructor-host-call-expected.txt b/test/webkit/fast/regex/constructor-expected.txt |
similarity index 81% |
copy from test/webkit/array-constructor-host-call-expected.txt |
copy to test/webkit/fast/regex/constructor-expected.txt |
index aeefefbf09152f65c600438900dec2c9147ee89b..e59c3227703e921f33b077e5515de28f5b8f1668 100644 |
--- a/test/webkit/array-constructor-host-call-expected.txt |
+++ b/test/webkit/fast/regex/constructor-expected.txt |
@@ -21,17 +21,15 @@ |
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-This tests that array construction via a host call works. |
+This test checks use of the regexp constructor. |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
-PASS array instanceof Array is true |
-PASS array.length is 100 |
-PASS array instanceof Array is true |
-PASS array.length is 100 |
-PASS array instanceof Array is true |
-PASS array.length is 100 |
+PASS re === RegExp(re) is true |
+PASS re !== new RegExp(re) is true |
+PASS re === RegExp(re,'i') threw exception TypeError: Cannot supply flags when constructing one RegExp from another. |
+PASS re !== new RegExp(re,'i') threw exception TypeError: Cannot supply flags when constructing one RegExp from another. |
PASS successfullyParsed is true |
TEST COMPLETE |