diff options
Diffstat (limited to 'src/testdir/test62.in')
-rw-r--r-- | src/testdir/test62.in | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/testdir/test62.in b/src/testdir/test62.in new file mode 100644 index 0000000000..e507c6a6b0 --- /dev/null +++ b/src/testdir/test62.in @@ -0,0 +1,32 @@ +Tests for tab pages + +STARTTEST +:so small.vim +:" Simple test for opening and closing a tab page +:tabnew +:let nr = tabpagenr() +:q +:call append(line('$'), 'tab page ' . nr) +:" +:" Open three tab pages and use ":tabdo" +:0tabnew +:1tabnew +:888tabnew +:tabdo call append(line('$'), 'this is tab page ' . tabpagenr()) +:tabclose! 2 +:tabrewind +:let line1 = getline('$') +:undo +:q +:tablast +:let line2 = getline('$') +:q! +:call append(line('$'), line1) +:call append(line('$'), line2) +:" +:" +:/^Results/,$w! test.out +:qa! +ENDTEST + +Results: |