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

Unified Diff: test/cctest/test-regexp.cc

Issue 10254: Rudimentary analysis (Closed)
Patch Set: Created 12 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
« src/jsregexp.cc ('K') | « src/string-stream.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-regexp.cc
diff --git a/test/cctest/test-regexp.cc b/test/cctest/test-regexp.cc
index 03237a11eea1b619c059a35ea190df25c8e9344c..a5c2127fac813413f89fe331e3194424d274b38c 100644
--- a/test/cctest/test-regexp.cc
+++ b/test/cctest/test-regexp.cc
@@ -604,3 +604,8 @@ TEST(Assembler2) {
Factory::NewStringFromAscii(CStrVector("walking\nbarefoot"));
CHECK(!Re2kInterpreter::Match(*array, *f5, captures, 0));
}
+
+
+TEST(Graph) {
+ Execute("(a|b|c|\\w|\\s)", "", true);
Lasse Reichstein 2008/11/10 16:35:45 Not *really* a test?
Christian Plesner Hansen 2008/11/11 06:12:35 True, but damn convenient.
+}
« src/jsregexp.cc ('K') | « src/string-stream.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698