aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-11-13 13:49:39 +0800
committerzeertzjq <zeertzjq@outlook.com>2023-11-13 13:50:43 +0800
commitbcac7674f7b51f73206b8c79b779964650a2f53f (patch)
tree1779894c652ba8fef042ee572b5f7fa95e4c9166
parent538749410b8eae6d3c5b2c06c230132a6d7127ac (diff)
downloadrneovim-bcac7674f7b51f73206b8c79b779964650a2f53f.tar.gz
rneovim-bcac7674f7b51f73206b8c79b779964650a2f53f.tar.bz2
rneovim-bcac7674f7b51f73206b8c79b779964650a2f53f.zip
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>
-rw-r--r--test/old/testdir/test_mksession.vim12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/old/testdir/test_mksession.vim b/test/old/testdir/test_mksession.vim
index 28436adcb3..9d1e864686 100644
--- 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