aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-08-17 09:32:46 +0800
committerGitHub <noreply@github.com>2022-08-17 09:32:46 +0800
commitd74f9c3b947677a98103c41e0c4ad8ae54389c4e (patch)
treeb5ebaae16f487a51a5184879c6189ba1e60bf4a4 /src/nvim/testdir
parent542fa8a9cc10abb8eddab25a19844d19b94f53c1 (diff)
parentdd15fa70967a29e535ae189d387f2e813aaa07fb (diff)
downloadrneovim-d74f9c3b947677a98103c41e0c4ad8ae54389c4e.tar.gz
rneovim-d74f9c3b947677a98103c41e0c4ad8ae54389c4e.tar.bz2
rneovim-d74f9c3b947677a98103c41e0c4ad8ae54389c4e.zip
Merge pull request #19808 from zeertzjq/vim-9.0.0220
vim-patch:9.0.{0220,0222}
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r--src/nvim/testdir/test_eval_stuff.vim12
-rw-r--r--src/nvim/testdir/test_textobjects.vim1
2 files changed, 12 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_eval_stuff.vim b/src/nvim/testdir/test_eval_stuff.vim
index 811c6c946d..eff1376d3c 100644
--- a/src/nvim/testdir/test_eval_stuff.vim
+++ b/src/nvim/testdir/test_eval_stuff.vim
@@ -75,6 +75,18 @@ func Test_for_invalid()
redraw
endfunc
+func Test_for_over_null_string()
+ let save_enc = &enc
+ " set enc=iso8859
+ let cnt = 0
+ for c in v:_null_string
+ let cnt += 1
+ endfor
+ call assert_equal(0, cnt)
+
+ let &enc = save_enc
+endfunc
+
func Test_readfile_binary()
new
call setline(1, ['one', 'two', 'three'])
diff --git a/src/nvim/testdir/test_textobjects.vim b/src/nvim/testdir/test_textobjects.vim
index eeb2946a8b..f21d6fcb99 100644
--- a/src/nvim/testdir/test_textobjects.vim
+++ b/src/nvim/testdir/test_textobjects.vim
@@ -1,7 +1,6 @@
" Test for textobjects
source check.vim
-CheckFeature textobjects
func CpoM(line, useM, expected)
new