Mercurial > vim
diff src/testdir/test_vim9_builtin.vim @ 26907:6f43253463cc v8.2.3982
patch 8.2.3982: some lines of code not covered by tests
Commit: https://github.com/vim/vim/commit/8bfa0eb863357c1013024233ebb2e95a0a848002
Author: Dominique Pelle <dominique.pelle@gmail.com>
Date: Sun Jan 2 16:16:33 2022 +0000
patch 8.2.3982: some lines of code not covered by tests
Problem: Some lines of code not covered by tests.
Solution: Add a few more test cases. (Dominique Pell?, closes https://github.com/vim/vim/issues/9453)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 02 Jan 2022 17:30:02 +0100 |
parents | 902b8bee5254 |
children | 4e77f9961650 |
line wrap: on
line diff
--- a/src/testdir/test_vim9_builtin.vim +++ b/src/testdir/test_vim9_builtin.vim @@ -956,6 +956,8 @@ def Test_expandcmd() assert_equal("yes", expandcmd("`={a: 'yes'}['a']`")) expandcmd('')->assert_equal('') + + CheckDefAndScriptFailure(['expandcmd([1])'], ['E1013: Argument 1: type mismatch, expected string but got list<number>', 'E1174: String required for argument 1']) enddef def Test_extend_arg_types()