mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 13:55:43 +00:00
Add a test for bug 473941. rs=jwalden
This commit is contained in:
parent
8e68dd1f5c
commit
952549da6a
8
js/src/tests/ecma_5/RegExp/empty-lookahead.js
Normal file
8
js/src/tests/ecma_5/RegExp/empty-lookahead.js
Normal file
@ -0,0 +1,8 @@
|
||||
//bug 473941
|
||||
var regexp;
|
||||
|
||||
regexp = /(?=)/;
|
||||
assertEq(regexp.test('test'), true);
|
||||
|
||||
if (typeof reportCompare === "function")
|
||||
reportCompare(true, true);
|
@ -2,3 +2,4 @@ url-prefix ../../jsreftest.html?test=ecma_5/RegExp/
|
||||
script 7.8.5-01.js
|
||||
script 15.10.5-01.js
|
||||
script 15.10.7.5-01.js
|
||||
script empty-lookahead.js
|
||||
|
Loading…
Reference in New Issue
Block a user