diff options
author | Yegappan Lakshmanan <yegappan@yahoo.com> | 2021-12-26 21:54:43 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-12-26 21:54:43 +0000 |
commit | 27708e6c7b6f444fd599f3dc5015336b002b874d (patch) | |
tree | ca58fb2aa05c18a8149600a23c08603a19e02caa /src/testdir/test_listdict.vim | |
parent | c553a21e189aa440515a19c5b25f8b6b50c5d53d (diff) | |
download | vim-git-27708e6c7b6f444fd599f3dc5015336b002b874d.tar.gz |
patch 8.2.3908: cannot use a script-local function for 'foldtext'v8.2.3908
Problem: Cannot use a script-local function for 'foldtext'.
Solution: Expand "s:" and "<SID>". (Yegappan Lakshmanan, closes #9411)
Diffstat (limited to 'src/testdir/test_listdict.vim')
-rw-r--r-- | src/testdir/test_listdict.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/testdir/test_listdict.vim b/src/testdir/test_listdict.vim index e7b658878..fbb917b9b 100644 --- a/src/testdir/test_listdict.vim +++ b/src/testdir/test_listdict.vim @@ -1163,6 +1163,7 @@ func Test_listdict_extend() let d = {'a': 'A', 'b': 'B'} call assert_fails("call extend(d, {'b': 0, 'c':'C'}, 'error')", 'E737:') + call assert_fails("call extend(d, {'b': 0}, [])", 'E730:') call assert_fails("call extend(d, {'b': 0, 'c':'C'}, 'xxx')", 'E475:') if has('float') call assert_fails("call extend(d, {'b': 0, 'c':'C'}, 1.2)", 'E475:') |