aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
diff options
context:
space:
mode:
authorKunMing Xie <qqzz014@gmail.com>2017-10-08 09:33:20 +0800
committerGitHub <noreply@github.com>2017-10-08 09:33:20 +0800
commit4b2592d7b6c295093b07ac2737658767c3e3377b (patch)
tree7b238e71c98398bb9433f0a48858c3ab3909be39 /src/nvim/testdir
parentf97ca6b3339ca04477296c834a159d40d2201ccd (diff)
parent032b088c848585e60e8dc1a210f240bad6bb3387 (diff)
downloadrneovim-4b2592d7b6c295093b07ac2737658767c3e3377b.tar.gz
rneovim-4b2592d7b6c295093b07ac2737658767c3e3377b.tar.bz2
rneovim-4b2592d7b6c295093b07ac2737658767c3e3377b.zip
Merge branch 'master' into vim-8.0.0131
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r--src/nvim/testdir/Makefile1
-rw-r--r--src/nvim/testdir/test_syntax.vim8
2 files changed, 8 insertions, 1 deletions
diff --git a/src/nvim/testdir/Makefile b/src/nvim/testdir/Makefile
index 9133bfc0a2..38caa8815d 100644
--- a/src/nvim/testdir/Makefile
+++ b/src/nvim/testdir/Makefile
@@ -59,6 +59,7 @@ NEW_TESTS ?= \
test_matchadd_conceal.res \
test_matchadd_conceal_utf8.res \
test_mksession.res \
+ test_mksession_utf8.res \
test_nested_function.res \
test_normal.res \
test_quickfix.res \
diff --git a/src/nvim/testdir/test_syntax.vim b/src/nvim/testdir/test_syntax.vim
index 73594f0f55..6c084dd2a7 100644
--- a/src/nvim/testdir/test_syntax.vim
+++ b/src/nvim/testdir/test_syntax.vim
@@ -146,9 +146,15 @@ func Test_syntax_completion()
call feedkeys(":syn case \<C-A>\<C-B>\"\<CR>", 'tx')
call assert_equal('"syn case ignore match', @:)
+ call feedkeys(":syn spell \<C-A>\<C-B>\"\<CR>", 'tx')
+ call assert_equal('"syn spell default notoplevel toplevel', @:)
+
+ call feedkeys(":syn sync \<C-A>\<C-B>\"\<CR>", 'tx')
+ call assert_equal('"syn sync ccomment clear fromstart linebreaks= linecont lines= match maxlines= minlines= region', @:)
+
call feedkeys(":syn list \<C-A>\<C-B>\"\<CR>", 'tx')
call assert_match('^"syn list Boolean Character ', @:)
call feedkeys(":syn match \<C-A>\<C-B>\"\<CR>", 'tx')
call assert_match('^"syn match Boolean Character ', @:)
-endfunc
+endfunc \ No newline at end of file