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

Unified Diff: third_party/re2/re2/testing/compile_test.cc

Issue 1516543002: Update re2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updated update instructions Created 5 years 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 | « third_party/re2/re2/testing/backtrack.cc ('k') | third_party/re2/re2/testing/dfa_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/re2/re2/testing/compile_test.cc
diff --git a/third_party/re2/re2/testing/compile_test.cc b/third_party/re2/re2/testing/compile_test.cc
index 8d92105e21501ea9003c4ab2bdb2bda6a94884a8..d438b1933f0fbba3ea474abf394e93aa812427ff 100644
--- a/third_party/re2/re2/testing/compile_test.cc
+++ b/third_party/re2/re2/testing/compile_test.cc
@@ -99,6 +99,10 @@ static Test tests[] = {
{ "[Aa]",
"1. byte/i [61-61] -> 2\n"
"2. match! 0\n" },
+ // Issue 20992936
+ { "[[-`]",
+ "1. byte [5b-60] -> 2\n"
+ "2. match! 0\n" },
};
TEST(TestRegexpCompileToProg, Simple) {
« no previous file with comments | « third_party/re2/re2/testing/backtrack.cc ('k') | third_party/re2/re2/testing/dfa_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698