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

Unified Diff: third_party/WebKit/Source/wtf/text/WTFStringTest.cpp

Issue 2508033004: Reduce unnecessary usage of TextCaseSensitivity::TextCaseInsensitive. (Closed)
Patch Set: Created 4 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 | « third_party/WebKit/Source/wtf/text/StringImpl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/text/WTFStringTest.cpp
diff --git a/third_party/WebKit/Source/wtf/text/WTFStringTest.cpp b/third_party/WebKit/Source/wtf/text/WTFStringTest.cpp
index 6e2a8efb8afe40c56aad3499dfae46a756a2c1ff..acd5fe36feec6c1615ca62312ca4933f382a7b4f 100644
--- a/third_party/WebKit/Source/wtf/text/WTFStringTest.cpp
+++ b/third_party/WebKit/Source/wtf/text/WTFStringTest.cpp
@@ -339,7 +339,7 @@ TEST(StringTest, ToLowerLocale) {
TEST(StringTest, StartsWithIgnoringUnicodeCase) {
// [U+017F U+212A i a] starts with "sk".
EXPECT_TRUE(String::fromUTF8("\xC5\xBF\xE2\x84\xAAia")
- .startsWith("sk", TextCaseInsensitive));
+ .startsWith("sk", TextCaseUnicodeInsensitive));
}
TEST(StringTest, StartsWithIgnoringASCIICase) {
« no previous file with comments | « third_party/WebKit/Source/wtf/text/StringImpl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698