Mercurial > vim
diff src/testdir/test_mksession.vim @ 17164:7927cf327396 v8.1.1581
patch 8.1.1581: shared functions for testing are disorganised
commit https://github.com/vim/vim/commit/7a39dd7f00239059ce34660611589b26126a550c
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 23 00:50:15 2019 +0200
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 https://github.com/vim/vim/issues/4573)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 23 Jun 2019 01:00:05 +0200 |
parents | 8e9e9124c7a2 |
children | ea5d6716b82e |
line wrap: on
line diff
--- a/src/testdir/test_mksession.vim +++ b/src/testdir/test_mksession.vim @@ -7,6 +7,7 @@ source check.vim CheckFeature mksession source shared.vim +source term_util.vim func Test_mksession() tabnew @@ -338,7 +339,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 @@ -353,7 +354,7 @@ func Test_mksession_terminal_no_restore_ endif endfor - call Stop_shell_in_terminal(bufnr('%')) + call StopShellInTerminal(bufnr('%')) call delete('Xtest_mks.out') endfunc @@ -368,7 +369,7 @@ func Test_mksession_terminal_no_restore_ endif endfor - call Stop_shell_in_terminal(bufnr('%')) + call StopShellInTerminal(bufnr('%')) call delete('Xtest_mks.out') endfunc @@ -384,7 +385,7 @@ func Test_mksession_terminal_no_restore_ endif endfor - call Stop_shell_in_terminal(bufnr('%')) + call StopShellInTerminal(bufnr('%')) call delete('Xtest_mks.out') endfunc @@ -400,7 +401,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 @@ -418,7 +419,7 @@ func Test_mksession_terminal_restore_oth 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