| Index: test/webkit/regexp-compile-expected.txt
|
| diff --git a/test/webkit/concat-while-having-a-bad-time-expected.txt b/test/webkit/regexp-compile-expected.txt
|
| similarity index 66%
|
| copy from test/webkit/concat-while-having-a-bad-time-expected.txt
|
| copy to test/webkit/regexp-compile-expected.txt
|
| index f949db98fd7b911d30b20281c82ee0f801405c77..d5c59ce803f2d732e8855158309346214baa4e7d 100644
|
| --- a/test/webkit/concat-while-having-a-bad-time-expected.txt
|
| +++ b/test/webkit/regexp-compile-expected.txt
|
| @@ -21,12 +21,31 @@
|
| # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
| # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
| -Tests the behavior of Array.prototype.concat while the array is having a bad time due to one of the elements we are concatenating.
|
| +Test RegExp.compile method.
|
|
|
| On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
|
|
|
|
| -PASS [42].concat() is [42]
|
| +PASS re.toString() is '/a/i'
|
| +PASS re.multiline is false
|
| +PASS re.ignoreCase is false
|
| +PASS re.global is false
|
| +PASS re.test('A') is false
|
| +PASS re.toString() is '/a/'
|
| +PASS re.toString() is '/b/g'
|
| +PASS re.toString() is '/c/'
|
| +PASS re.ignoreCase is true
|
| +PASS re.test('C') is true
|
| +PASS re.toString() is '/c/i'
|
| +PASS re.compile(new RegExp('c'), 'i'); threw exception TypeError: Cannot supply flags when constructing one RegExp from another.
|
| +PASS re.toString() is '/c/i'
|
| +PASS re.compile(new RegExp('+')); threw exception SyntaxError: Invalid regular expression: /+/: Nothing to repeat.
|
| +PASS re.toString() is '/undefined/'
|
| +PASS re.toString() is '/null/'
|
| +PASS re.toString() is '/(?:)/'
|
| +PASS re.toString() is '/z/'
|
| +PASS re.lastIndex is 0
|
| +PASS re.lastIndex is 1
|
| PASS successfullyParsed is true
|
|
|
| TEST COMPLETE
|
|
|