summaryrefslogtreecommitdiff
path: root/src/testdir/test_qf_title.in
blob: fce0c260e32a3ebf6dd93fe0bd6ed555ae973996 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Tests for quickfix window's title     vim: set ft=vim :

STARTTEST
:so small.vim
:if !has('quickfix') | e! test.ok | wq! test.out | endif
:set efm=%E%f:%l:%c:%m
:cgetexpr ['file:1:1:message']
:let qflist=getqflist()
:call setqflist(qflist, 'r')
:copen
:let g:quickfix_title=w:quickfix_title
:wincmd p
:$put =g:quickfix_title
:/^Results/,$w test.out
:qa!
ENDTEST

Results of test_qf_title: