diff options
Diffstat (limited to 'test/old/testdir/test_put.vim')
-rw-r--r-- | test/old/testdir/test_put.vim | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/old/testdir/test_put.vim b/test/old/testdir/test_put.vim index 6c7cfa09c6..212a979b4a 100644 --- a/test/old/testdir/test_put.vim +++ b/test/old/testdir/test_put.vim @@ -1,6 +1,7 @@ " Tests for put commands, e.g. ":put", "p", "gp", "P", "gP", etc. source check.vim +source screendump.vim func Test_put_block() new @@ -246,5 +247,24 @@ func Test_put_visual_block_mode() set ve= endfunc +func Test_put_other_window() + CheckRunVimInTerminal + + let lines =<< trim END + 40vsplit + 0put ='some text at the top' + put =' one more text' + put =' two more text' + put =' three more text' + put =' four more text' + END + call writefile(lines, 'Xtest_put_other', 'D') + let buf = RunVimInTerminal('-S Xtest_put_other', #{rows: 10}) + + call VerifyScreenDump(buf, 'Test_put_other_window_1', {}) + + call StopVimInTerminal(buf) +endfunc + " vim: shiftwidth=2 sts=2 expandtab |