Update test case (related: #8c915a5)

This commit is contained in:
Junegunn Choi 2014-10-10 10:54:00 +09:00
parent 15da7eb78a
commit 61b21068ee

View File

@ -337,7 +337,8 @@ Execute (Rollback recent updates, PlugUpdate, then PlugDiff):
AssertEqual 1, &previewwindow AssertEqual 1, &previewwindow
pclose pclose
Execute (Plug window in a new tab): Execute (Reuse Plug window in another tab):
let tabnr = tabpagenr()
PlugDiff PlugDiff
tab new new-tab tab new new-tab
set buftype=nofile set buftype=nofile
@ -345,8 +346,8 @@ Execute (Plug window in a new tab):
normal D normal D
AssertExpect '^- ', 1 AssertExpect '^- ', 1
normal q normal q
AssertEqual 'new-tab', expand('%') AssertEqual tabnr, tabpagenr()
q normal! gt
q q
********************************************************************** **********************************************************************