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

Unified Diff: chrome/renderer/spellchecker/spellcheck_unittest.cc

Issue 997633002: Bump en-us/ca spellcheck dictionaries used. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months 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
« chrome/common/spellcheck_common.cc ('K') | « chrome/common/spellcheck_common.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/spellchecker/spellcheck_unittest.cc
diff --git a/chrome/renderer/spellchecker/spellcheck_unittest.cc b/chrome/renderer/spellchecker/spellcheck_unittest.cc
index ca28ff06d0a1aa270c16b66156ceb67ae1b4d58f..f82ac8034560ddbc72df9369e471a6f01f130d01 100644
--- a/chrome/renderer/spellchecker/spellcheck_unittest.cc
+++ b/chrome/renderer/spellchecker/spellcheck_unittest.cc
@@ -200,6 +200,8 @@ TEST_F(SpellCheckTest, SpellCheckStrings_EN_US) {
L"\x0442\x0432\x0443\x0439\x0442\x0435", true},
// A valid English contraction
{L"isn't", true},
+ // A valid English contraction with a typographical apostrophe.
+ {L"isn\x2019t", true},
// A valid English word enclosed with underscores.
{L"_hello_", true},
@@ -421,6 +423,7 @@ TEST_F(SpellCheckTest, SpellCheckSuggestions_EN_US) {
{L"jum", false, 0, 0, L"hum"},
{L"jum", false, 0, 0, L"sum"},
{L"jum", false, 0, 0, L"um"},
+ {L"alot", false, 0, 0, L"a lot"},
// A regression test for Issue 36523.
{L"privliged", false, 0, 0, L"privileged"},
// TODO (Sidchat): add many more examples.
« chrome/common/spellcheck_common.cc ('K') | « chrome/common/spellcheck_common.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698