view src/testdir/test_qf_title.in @ 7109:fa95595fbc52 v7.4.866

commit https://github.com/vim/vim/commit/93c88e0f6a4a8f7634ed84721daf4af46fc0d5db Author: Bram Moolenaar <Bram@vim.org> Date: Tue Sep 15 14:12:05 2015 +0200 patch 7.4.866 Problem: Crash when changing the 'tags' option from a remote command. (Benjamin Fritz) Solution: Instead of executing messages immediately, use a queue, like for netbeans. (James Kolb)
author Christian Brabandt <cb@256bit.org>
date Tue, 15 Sep 2015 14:15:05 +0200
parents 75ae211df37d
children
line wrap: on
line source

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: