Mercurial > vim
comparison src/testdir/test_window_id.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 | 11dca9732a48 |
children | 2fb397573541 |
comparison
equal
deleted
inserted
replaced
18766:3cc0ddf2abd0 | 18767:068337e86133 |
---|---|
1 " Test using the window ID. | 1 " Test using the window ID. |
2 source check.vim | |
2 | 3 |
3 func Test_win_getid() | 4 func Test_win_getid() |
4 edit one | 5 edit one |
5 let id1 = win_getid() | 6 let id1 = win_getid() |
6 let w:one = 'one' | 7 let w:one = 'one' |
92 | 93 |
93 only! | 94 only! |
94 endfunc | 95 endfunc |
95 | 96 |
96 func Test_win_getid_curtab() | 97 func Test_win_getid_curtab() |
98 CheckFeature quickfix | |
99 | |
97 tabedit X | 100 tabedit X |
98 tabfirst | 101 tabfirst |
99 copen | 102 copen |
100 only | 103 only |
101 call assert_equal(win_getid(1), 1->win_getid( 1)) | 104 call assert_equal(win_getid(1), 1->win_getid( 1)) |