legacy tests: migrate test_qf_title

This commit is contained in:
Rainer Borene
2015-02-23 12:28:42 -03:00
committed by Justin M. Keyes
parent b18cd63260
commit 05fcce3896
3 changed files with 30 additions and 20 deletions

View File

@@ -1,18 +0,0 @@
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:

View File

@@ -1,2 +0,0 @@
Results of test_qf_title:
:setqflist()