aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authornyamatongwe <unknown>2011-03-27 12:11:51 +1100
committernyamatongwe <unknown>2011-03-27 12:11:51 +1100
commit97359fb4230a10582c01f309ccfd1ac399ec0fcd (patch)
tree0aacb25658c934d34249b2d4a4e2ea9e257378a6 /test
parent790d04e00e42a613c132444def2faa432534d366 (diff)
downloadscintilla-mirror-97359fb4230a10582c01f309ccfd1ac399ec0fcd.tar.gz
Fix for bug with wrong recognition of number after regex literal. Bug #3209108.
Added test for this case.
Diffstat (limited to 'test')
-rw-r--r--test/examples/x.html1
-rw-r--r--test/examples/x.html.styled1
2 files changed, 2 insertions, 0 deletions
diff --git a/test/examples/x.html b/test/examples/x.html
index 7fa1a9f0e..caebcf41a 100644
--- a/test/examples/x.html
+++ b/test/examples/x.html
@@ -1,5 +1,6 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<script type="text/javascript">
+var b = /abc/i.test('abc');
'x\
</t>'
</script>
diff --git a/test/examples/x.html.styled b/test/examples/x.html.styled
index 5a6aebe5e..3e50a1147 100644
--- a/test/examples/x.html.styled
+++ b/test/examples/x.html.styled
@@ -1,5 +1,6 @@
{1}<html{8} {3}xmlns{8}={6}"http://www.w3.org/1999/xhtml"{1}>{0}
{1}<script{8} {3}type{8}={6}"text/javascript"{1}>{40}
+{46}var{41} {46}b{41} {50}={41} {52}/abc/i{46}.test{50}({49}'abc'{50});{41}
{49}'x\
</t>'{41}
{1}</script>{0}