From 27708e6c7b6f444fd599f3dc5015336b002b874d Mon Sep 17 00:00:00 2001 From: Yegappan Lakshmanan Date: Sun, 26 Dec 2021 21:54:43 +0000 Subject: patch 8.2.3908: cannot use a script-local function for 'foldtext' Problem: Cannot use a script-local function for 'foldtext'. Solution: Expand "s:" and "". (Yegappan Lakshmanan, closes #9411) --- src/testdir/test_expr.vim | 1 + 1 file changed, 1 insertion(+) (limited to 'src/testdir/test_expr.vim') 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) -- cgit v1.2.3