diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-04-21 15:55:10 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-04-21 15:55:10 +0200 |
commit | c75e81262347e47a69faabd72caf89fec3f06e8f (patch) | |
tree | ca8a14b72659f70941b53207a27453c288d8057f /src/testdir/test_startup.vim | |
parent | 7bde95a461fafaa15cc45a006eaa4d0f3c2dfe92 (diff) | |
download | vim-git-c75e81262347e47a69faabd72caf89fec3f06e8f.tar.gz |
patch 8.1.1197: when starting with multiple tabs file messages is confusingv8.1.1197
Problem: When starting with multiple tabs file messages is confusing.
Solution: Set 'shortmess' when loading the other tabs. (Christian Brabandt)
Diffstat (limited to 'src/testdir/test_startup.vim')
-rw-r--r-- | src/testdir/test_startup.vim | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/testdir/test_startup.vim b/src/testdir/test_startup.vim index b7dd7eafd..6509c0cc1 100644 --- a/src/testdir/test_startup.vim +++ b/src/testdir/test_startup.vim @@ -1,6 +1,7 @@ " Tests for startup. source shared.vim +source screendump.vim " Check that loading startup.vim works. func Test_startup_script() @@ -547,3 +548,15 @@ func Test_issue_3969() let out = system(GetVimCommand() . ' -es -X -V1 -c "echon ''hello''" -cq') call assert_equal('hello', out) endfunc + +func Test_start_with_tabs() + if !CanRunVimInTerminal() + return + endif + + let buf = RunVimInTerminal('-p a b c', {}) + call VerifyScreenDump(buf, 'Test_start_with_tabs', {}) + + " clean up + call StopVimInTerminal(buf) +endfunc |