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

Unified Diff: components/autofill/core/common/autofill_regexes_unittest.cc

Issue 1518783002: Revert of autofill: switch autofill_regexes to RE2 library (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « components/autofill/core/common/autofill_regexes.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/core/common/autofill_regexes_unittest.cc
diff --git a/components/autofill/core/common/autofill_regexes_unittest.cc b/components/autofill/core/common/autofill_regexes_unittest.cc
index a4a3ebedcecf507598bbe59850fb840d21e03e00..05895c7360f5cf8f189be0688a06153d06043738 100644
--- a/components/autofill/core/common/autofill_regexes_unittest.cc
+++ b/components/autofill/core/common/autofill_regexes_unittest.cc
@@ -38,8 +38,8 @@
const TestCase& test_case = kPositiveCases[i];
SCOPED_TRACE(test_case.input);
SCOPED_TRACE(test_case.pattern);
- EXPECT_TRUE(
- MatchesPattern(ASCIIToUTF16(test_case.input), test_case.pattern));
+ EXPECT_TRUE(MatchesPattern(ASCIIToUTF16(test_case.input),
+ ASCIIToUTF16(test_case.pattern)));
}
const TestCase kNegativeCases[] = {
@@ -58,8 +58,8 @@
const TestCase& test_case = kNegativeCases[i];
SCOPED_TRACE(test_case.input);
SCOPED_TRACE(test_case.pattern);
- EXPECT_FALSE(
- MatchesPattern(ASCIIToUTF16(test_case.input), test_case.pattern));
+ EXPECT_FALSE(MatchesPattern(ASCIIToUTF16(test_case.input),
+ ASCIIToUTF16(test_case.pattern)));
}
}
« no previous file with comments | « components/autofill/core/common/autofill_regexes.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698