Mercurial > vim
comparison src/testdir/test_tabpage.vim @ 18767:068337e86133 v8.1.2373
patch 8.1.2373: cannot build with +popupwin but without +quickfix
Commit: https://github.com/vim/vim/commit/5a4c3082d7ab51b3d448a91578479c96c1ab0ad3
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Dec 1 15:23:11 2019 +0100
patch 8.1.2373: cannot build with +popupwin but without +quickfix
Problem: Cannot build with +popupwin but without +quickfix. (John Marriott)
Solution: Adjust #ifdefs.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 01 Dec 2019 15:30:04 +0100 |
parents | 7a19c8d6bb9e |
children | 0b337617877e |
comparison
equal
deleted
inserted
replaced
18766:3cc0ddf2abd0 | 18767:068337e86133 |
---|---|
1 " Tests for tabpage | 1 " Tests for tabpage |
2 | 2 |
3 source screendump.vim | 3 source screendump.vim |
4 source check.vim | |
4 | 5 |
5 function Test_tabpage() | 6 function Test_tabpage() |
7 CheckFeature quickfix | |
8 | |
6 bw! | 9 bw! |
7 " Simple test for opening and closing a tab page | 10 " Simple test for opening and closing a tab page |
8 tabnew | 11 tabnew |
9 call assert_equal(2, tabpagenr()) | 12 call assert_equal(2, tabpagenr()) |
10 quit | 13 quit |
218 augroup! TestTabpageGroup | 221 augroup! TestTabpageGroup |
219 1tabonly! | 222 1tabonly! |
220 endfunction | 223 endfunction |
221 | 224 |
222 function Test_tabpage_with_tab_modifier() | 225 function Test_tabpage_with_tab_modifier() |
226 CheckFeature quickfix | |
227 | |
223 for n in range(4) | 228 for n in range(4) |
224 tabedit | 229 tabedit |
225 endfor | 230 endfor |
226 | 231 |
227 function s:check_tab(pre_nr, cmd, post_nr) | 232 function s:check_tab(pre_nr, cmd, post_nr) |