neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit bcac7674f7b51f73206b8c79b779964650a2f53f
parent 538749410b8eae6d3c5b2c06c230132a6d7127ac
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Mon, 13 Nov 2023 13:49:39 +0800

vim-patch:8.1.1581: shared functions for testing are disorganised

Problem:    Shared functions for testing are disorganised.
Solution:   Group finctions in script files. (Ozaki Kiichi, closes vim/vim#4573)

https://github.com/vim/vim/commit/7a39dd7f00239059ce34660611589b26126a550c

Co-authored-by: Bram Moolenaar <Bram@vim.org>

Diffstat:
Mtest/old/testdir/test_mksession.vim | 12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/test/old/testdir/test_mksession.vim b/test/old/testdir/test_mksession.vim @@ -411,7 +411,7 @@ func Test_mksession_terminal_shell() endfor call assert_match('terminal ++curwin ++cols=\d\+ ++rows=\d\+\s*.*$', term_cmd) - call Stop_shell_in_terminal(bufnr('%')) + call StopShellInTerminal(bufnr('%')) call delete('Xtest_mks.out') endfunc @@ -426,7 +426,7 @@ func Test_mksession_terminal_no_restore_cmdarg() endif endfor - call Stop_shell_in_terminal(bufnr('%')) + call StopShellInTerminal(bufnr('%')) call delete('Xtest_mks.out') endfunc @@ -441,7 +441,7 @@ func Test_mksession_terminal_no_restore_funcarg() endif endfor - call Stop_shell_in_terminal(bufnr('%')) + call StopShellInTerminal(bufnr('%')) call delete('Xtest_mks.out') endfunc @@ -457,7 +457,7 @@ func Test_mksession_terminal_no_restore_func() endif endfor - call Stop_shell_in_terminal(bufnr('%')) + call StopShellInTerminal(bufnr('%')) call delete('Xtest_mks.out') endfunc @@ -473,7 +473,7 @@ func Test_mksession_terminal_no_ssop() endif endfor - call Stop_shell_in_terminal(bufnr('%')) + call StopShellInTerminal(bufnr('%')) call delete('Xtest_mks.out') set sessionoptions& endfunc @@ -491,7 +491,7 @@ func Test_mksession_terminal_restore_other() endfor call assert_match('terminal ++curwin ++cols=\d\+ ++rows=\d\+.*other', term_cmd) - call Stop_shell_in_terminal(bufnr('%')) + call StopShellInTerminal(bufnr('%')) call delete('Xtest_mks.out') endfunc