Reviewers: dcarney,

Message:
Committed patchset #1 manually as r17501.

Description:
Experimental lexer generator: test for the previous commit.

[email protected]
BUG=

Committed: https://code.google.com/p/v8/source/detail?r=17501

Please review this at https://codereview.chromium.org/58843005/

SVN Base: https://v8.googlecode.com/svn/branches/experimental/parser

Affected files (+2, -1 lines):
  M tools/lexer_generator/automata_test.py


Index: tools/lexer_generator/automata_test.py
diff --git a/tools/lexer_generator/automata_test.py b/tools/lexer_generator/automata_test.py index 57fc8a00f68151d4a6c5b10118eb2b04faa4ce62..ea2b7fbfee00ed82c349928efeb58c6aaf98d27a 100644
--- a/tools/lexer_generator/automata_test.py
+++ b/tools/lexer_generator/automata_test.py
@@ -59,7 +59,8 @@ class AutomataTestCase(unittest.TestCase):
       ("[ab]{2,3}", ["aa", "ab", "ba", "bb", "aab", "baa", "bbb"],
        ["", "a", "b", "aaaa", "bbba"]),
       ("[ab]{2,4}", ["aa", "ab", "ba", "bb", "aab", "baa", "bbb", "abab"],
-       ["", "a", "b", "aaaba", "bbbaa"])
+       ["", "a", "b", "aaaba", "bbbaa"]),
+      ("[\\101]", ["A"], ["B"])
     ]

     def test_matches(self):


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to