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

Unified Diff: third_party/re2/re2/testing/exhaustive2_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/dump.cc ('k') | third_party/re2/re2/testing/exhaustive3_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/exhaustive2_test.cc
diff --git a/third_party/re2/re2/testing/exhaustive2_test.cc b/third_party/re2/re2/testing/exhaustive2_test.cc
index c5fec5b3e4a884b03a5717653864499fa7730bb2..6dc50166a6896eca05b4b4343675191560c00535 100644
--- a/third_party/re2/re2/testing/exhaustive2_test.cc
+++ b/third_party/re2/re2/testing/exhaustive2_test.cc
@@ -23,7 +23,7 @@ TEST(EmptyString, Exhaustive) {
TEST(Punctuation, Literals) {
vector<string> alphabet = Explode("()*+?{}[]\\^$.");
vector<string> escaped = alphabet;
- for (int i = 0; i < escaped.size(); i++)
+ for (size_t i = 0; i < escaped.size(); i++)
escaped[i] = "\\" + escaped[i];
ExhaustiveTest(1, 1, escaped, RegexpGenerator::EgrepOps(),
2, alphabet, "", "");
« no previous file with comments | « third_party/re2/re2/testing/dump.cc ('k') | third_party/re2/re2/testing/exhaustive3_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698