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_expr.vim | |
parent | c553a21e189aa440515a19c5b25f8b6b50c5d53d (diff) |
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_expr.vim')
-rw-r--r-- | src/testdir/test_expr.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/testdir/test_expr.vim b/src/testdir/test_expr.vim index ba2e2597a0..8a65a8990a 100644 --- a/src/testdir/test_expr.vim +++ b/src/testdir/test_expr.vim @@ -405,6 +405,7 @@ func Test_printf_misc() call assert_equal('[00000あiう]', printf('[%010.7S]', 'あiう')) call assert_equal('1%', printf('%d%%', 1)) + call assert_notequal('', printf('%p', "abc")) END call CheckLegacyAndVim9Success(lines) |