diff options
author | sidchat@google.com <sidchat@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-29 23:20:35 +0000 |
---|---|---|
committer | sidchat@google.com <sidchat@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-29 23:20:35 +0000 |
commit | 75d69a0d6ae1ecbfdc2eed35d1542af89ed2e069 (patch) | |
tree | da05590353edde6b31e9c198061acd84a33f6081 /chrome/browser/spellcheck_unittest.cc | |
parent | bc805ebea0d8c78475d1a34bd13cc44aa7da9459 (diff) | |
download | chromium_src-75d69a0d6ae1ecbfdc2eed35d1542af89ed2e069.zip chromium_src-75d69a0d6ae1ecbfdc2eed35d1542af89ed2e069.tar.gz chromium_src-75d69a0d6ae1ecbfdc2eed35d1542af89ed2e069.tar.bz2 |
Do not autocorrect words in capital letters, or having capital letters in between, as they may refer to acronyms or terms not in the dictionary.
BUG = www.crbug.com/12921
TEST = Type CLD (a library), should not change back to LCD
Review URL: http://codereview.chromium.org/118008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17259 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/spellcheck_unittest.cc')
-rw-r--r-- | chrome/browser/spellcheck_unittest.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/spellcheck_unittest.cc b/chrome/browser/spellcheck_unittest.cc index aa76bf0..3964d6d 100644 --- a/chrome/browser/spellcheck_unittest.cc +++ b/chrome/browser/spellcheck_unittest.cc @@ -506,6 +506,7 @@ TEST_F(SpellCheckTest, GetAutoCorrectionWord_EN_US) { const wchar_t* expected_result; } kTestCases[] = { {L"teh", L"the"}, + {L"TEH", L""}, {L"moer", L"more"}, {L"watre", L"water"}, {L"noen", L""}, |