aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_spell.vim
diff options
context:
space:
mode:
authorThomas Vigouroux <tomvig38@gmail.com>2020-09-24 09:10:52 +0200
committerGitHub <noreply@github.com>2020-09-24 09:10:52 +0200
commitb9ceac4650a7d7b731828a4fb82b92d01e88752b (patch)
tree3727841c4d139c51313c6d6d74b9c2fd28bbce1c /src/nvim/testdir/test_spell.vim
parent4f8d98e583beb4c1abd5d57b9898548396633030 (diff)
parentca28cf5362c9f8cfcc60e28e20c2d455c5c37c77 (diff)
downloadrneovim-b9ceac4650a7d7b731828a4fb82b92d01e88752b.tar.gz
rneovim-b9ceac4650a7d7b731828a4fb82b92d01e88752b.tar.bz2
rneovim-b9ceac4650a7d7b731828a4fb82b92d01e88752b.zip
Merge pull request #12955 from vigoux/vim-8.2.0953
[RFC] vim-patch:8.2.{0953,0955,0956,1678}
Diffstat (limited to 'src/nvim/testdir/test_spell.vim')
-rw-r--r--src/nvim/testdir/test_spell.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_spell.vim b/src/nvim/testdir/test_spell.vim
index 414c7278eb..64e030426d 100644
--- a/src/nvim/testdir/test_spell.vim
+++ b/src/nvim/testdir/test_spell.vim
@@ -79,6 +79,11 @@ func Test_spellbadword()
call assert_equal(['bycycle', 'bad'], spellbadword('My bycycle.'))
call assert_equal(['another', 'caps'], spellbadword('A sentence. another sentence'))
+ call assert_equal(['TheCamelWord', 'bad'], spellbadword('TheCamelWord asdf'))
+ set spelloptions=camel
+ call assert_equal(['asdf', 'bad'], spellbadword('TheCamelWord asdf'))
+ set spelloptions=
+
set spelllang=en
call assert_equal(['', ''], spellbadword('centre'))
call assert_equal(['', ''], spellbadword('center'))