summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/spellchecker
diff options
context:
space:
mode:
authorhbono@chromium.org <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-01 06:23:34 +0000
committerhbono@chromium.org <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-01 06:23:34 +0000
commit62e419a8183e9888b12c409d390082f8ec9bd067 (patch)
treec58e96e9740cc98a1196e6f29b5a268a5a1760cc /chrome/renderer/spellchecker
parent15cc16cc9c0136d3947bc665ba41b86ba9d50f30 (diff)
downloadchromium_src-62e419a8183e9888b12c409d390082f8ec9bd067.zip
chromium_src-62e419a8183e9888b12c409d390082f8ec9bd067.tar.gz
chromium_src-62e419a8183e9888b12c409d390082f8ec9bd067.tar.bz2
Adds a regression test for Issue 36523.
This is a test case for my hunspell fix <http://codereview.chromium.org/650210/show>. This test fails without the change. BUG=36523 TEST=unit_test.exe --gtest_filter=SpellCheckTest.SpellCheckSuggestions_EN_US Review URL: http://codereview.chromium.org/652107 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40257 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/spellchecker')
-rw-r--r--chrome/renderer/spellchecker/spellcheck_unittest.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/renderer/spellchecker/spellcheck_unittest.cc b/chrome/renderer/spellchecker/spellcheck_unittest.cc
index 2ed20a6..ea01f14 100644
--- a/chrome/renderer/spellchecker/spellcheck_unittest.cc
+++ b/chrome/renderer/spellchecker/spellcheck_unittest.cc
@@ -331,6 +331,8 @@ 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"},
+ // A regression test for Issue 36523.
+ {L"privliged", false, 0, 0, L"privileged"},
// TODO (Sidchat): add many more examples.
};