aboutsummaryrefslogtreecommitdiff
path: root/test/old/testdir/test_undo.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-04-29 10:07:51 +0800
committerGitHub <noreply@github.com>2023-04-29 10:07:51 +0800
commit3287fc2ba9284d48e945ab0008b7844e1ec40eec (patch)
tree2844deffee1f539d8bf933654dda276bcb55bc9c /test/old/testdir/test_undo.vim
parent129012172258a08efa87cbab927cdd3e4da7db90 (diff)
parent7b6d041baed712b071acfa8bb71727a5f5e27561 (diff)
downloadrneovim-3287fc2ba9284d48e945ab0008b7844e1ec40eec.tar.gz
rneovim-3287fc2ba9284d48e945ab0008b7844e1ec40eec.tar.bz2
rneovim-3287fc2ba9284d48e945ab0008b7844e1ec40eec.zip
Merge pull request #23386 from zeertzjq/vim-8.2.0551
vim-patch:8.2.{0551,0578,0672}: heredoc for interfaces does not support "trim"
Diffstat (limited to 'test/old/testdir/test_undo.vim')
-rw-r--r--test/old/testdir/test_undo.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/old/testdir/test_undo.vim b/test/old/testdir/test_undo.vim
index ee8b52caaf..4678a51d60 100644
--- a/test/old/testdir/test_undo.vim
+++ b/test/old/testdir/test_undo.vim
@@ -126,6 +126,11 @@ func Test_global_local_undolevels()
call assert_equal(50, &g:undolevels)
call assert_equal(-123456, &l:undolevels)
+ " Resetting the local 'undolevels' value to use the global value
+ setlocal undolevels=5
+ setlocal undolevels<
+ call assert_equal(-123456, &l:undolevels)
+
" Drop created windows
set ul&
new