aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-03-14 13:35:04 +0800
committerGitHub <noreply@github.com>2024-03-14 13:35:04 +0800
commit274e414c94a74c7f90952327f69a8a1d65e9f00a (patch)
tree132b06712a25cc34f93883a9ea63c26b4ce4bf45 /test
parent3502aa63f0f4ea8d8982aea81a819424e71029bc (diff)
parent61b48e91b941258e6945e3eafadc777dccef5b75 (diff)
downloadrneovim-274e414c94a74c7f90952327f69a8a1d65e9f00a.tar.gz
rneovim-274e414c94a74c7f90952327f69a8a1d65e9f00a.tar.bz2
rneovim-274e414c94a74c7f90952327f69a8a1d65e9f00a.zip
Merge pull request #27850 from zeertzjq/vim-9.1.0172
vim-patch:9.1.{0172,0177}: more code can use ml_get_buf_len()
Diffstat (limited to 'test')
-rw-r--r--test/old/testdir/test_normal.vim8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/old/testdir/test_normal.vim b/test/old/testdir/test_normal.vim
index 91c058df9e..d31ae488d9 100644
--- a/test/old/testdir/test_normal.vim
+++ b/test/old/testdir/test_normal.vim
@@ -2370,6 +2370,14 @@ func Test_normal30_changecase()
%d
call assert_beeps('norm! ~')
+ " Test with multiple lines
+ call setline(1, ['AA', 'BBBB', 'CCCCCC', 'DDDDDDDD'])
+ norm! ggguG
+ call assert_equal(['aa', 'bbbb', 'cccccc', 'dddddddd'], getline(1, '$'))
+ norm! GgUgg
+ call assert_equal(['AA', 'BBBB', 'CCCCCC', 'DDDDDDDD'], getline(1, '$'))
+ %d
+
" Test for changing case across lines using 'whichwrap'
call setline(1, ['aaaaaa', 'aaaaaa'])
normal! gg10~