| Index: test/webkit/fast/regex/non-capturing-backtracking.js
|
| diff --git a/test/webkit/declaration-in-block.js b/test/webkit/fast/regex/non-capturing-backtracking.js
|
| similarity index 90%
|
| copy from test/webkit/declaration-in-block.js
|
| copy to test/webkit/fast/regex/non-capturing-backtracking.js
|
| index 39c4fc06ce7958ba0d4c2f77e9faede8d67370d3..e086dc7d6d19b57faaf9d47b49a119523a727503 100644
|
| --- a/test/webkit/declaration-in-block.js
|
| +++ b/test/webkit/fast/regex/non-capturing-backtracking.js
|
| @@ -22,8 +22,8 @@
|
| // SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
| description(
|
| -"This test checks that declarations in an if block can be seen outside it."
|
| +"This page tests for proper backtracking with greedy quantifiers and non-capturing parentheses."
|
| );
|
|
|
| -if (0) { var b; }
|
| -var a = b;
|
| +var re = /(?:a*)a/;
|
| +shouldBe("re.exec('a')", "['a']");
|
|
|