diff options
author | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-06-22 09:44:01 -0400 |
---|---|---|
committer | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-06-24 16:22:16 -0400 |
commit | 14b3741ec5410c4dc1b71950d1994f24c7a9744a (patch) | |
tree | b13b97928206121ae9d06ac20d8f2deb9be156bf /src | |
parent | 39e284772d5ee7214341fce9e25f9d7e051dd39e (diff) | |
download | rneovim-14b3741ec5410c4dc1b71950d1994f24c7a9744a.tar.gz rneovim-14b3741ec5410c4dc1b71950d1994f24c7a9744a.tar.bz2 rneovim-14b3741ec5410c4dc1b71950d1994f24c7a9744a.zip |
test: update writefile test for invalid list items
It validates list items with tv_check_str_on_nr()
to catch invalid types (ex. E745, E805).
If there is an invalid item, it does not write to the file.
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/testdir/test_writefile.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_writefile.vim b/src/nvim/testdir/test_writefile.vim index 13c1a888d9..8b031646b5 100644 --- a/src/nvim/testdir/test_writefile.vim +++ b/src/nvim/testdir/test_writefile.vim @@ -21,7 +21,7 @@ func Test_writefile_fails_gently() call assert_false(filereadable("Xfile")) call delete("Xfile") - call assert_fails('call writefile(["test", [], [], [], "tset"], "Xfile")', 'E730:') + call assert_fails('call writefile(["test", [], [], [], "tset"], "Xfile")', 'E745:') call assert_false(filereadable("Xfile")) call delete("Xfile") |