Bram Moolenaar | fb60409 | 2014-07-23 15:55:00 +0200 | [diff] [blame^] | 1 | Tests for quickfix window's title vim: set ft=vim : |
2 | |||||
3 | STARTTEST | ||||
4 | :so small.vim | ||||
5 | :if !has('quickfix') | e! test.ok | wq! test.out | endif | ||||
6 | :set efm=%E%f:%l:%c:%m | ||||
7 | :cgetexpr ['file:1:1:message'] | ||||
8 | :let qflist=getqflist() | ||||
9 | :call setqflist(qflist, 'r') | ||||
10 | :copen | ||||
11 | :let g:quickfix_title=w:quickfix_title | ||||
12 | :wincmd p | ||||
13 | :$put =g:quickfix_title | ||||
14 | :/^Results/,$w test.out | ||||
15 | :qa! | ||||
16 | ENDTEST | ||||
17 | |||||
18 | Results of test_qf_title: |