Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(415)

Unified Diff: tools/lexer_generator/automata_test.py

Issue 58843005: Experimental lexer generator: test for the previous commit. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/parser
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698