diff options
Diffstat (limited to 'src/testdir')
-rw-r--r-- | src/testdir/test31.in | 20 | ||||
-rw-r--r-- | src/testdir/test31.ok | 2 |
2 files changed, 22 insertions, 0 deletions
diff --git a/src/testdir/test31.in b/src/testdir/test31.in index 7dc2334781..3ba8431ccf 100644 --- a/src/testdir/test31.in +++ b/src/testdir/test31.in @@ -69,6 +69,26 @@ A 3:close! GA 4:all! :1wincmd w :w >>test.out +:" +:" test ":q!" and hidden buffer. +:bw! Xtest1 Xtest2 Xtest3 Xtest4 +:sp Xtest1 +:wincmd w +:bw! +:set modified +:bot sp Xtest2 +:set modified +:bot sp Xtest3 +:set modified +:wincmd t +:hide +:q! +:w >>test.out +:q! +:w >>test.out +:q! +:call append(line('$'), "Oh, Not finished yet.") +:w >>test.out :qa! ENDTEST diff --git a/src/testdir/test31.ok b/src/testdir/test31.ok index 185bdc768e..39531974c6 100644 --- a/src/testdir/test31.ok +++ b/src/testdir/test31.ok @@ -10,3 +10,5 @@ testtext 1 testtext 3 3 3 testtext 1 testtext 2 2 2 +testtext 3 +testtext 1 |