annotate src/testdir/test_qf_title.in @ 8406:5d926807c19c v7.4.1494

commit https://github.com/vim/vim/commit/119d4693e06e68d4f099aa7287e375ae3d265fd0 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Mar 5 21:21:24 2016 +0100 patch 7.4.1494 Problem: clr_history() does not work properly. Solution: Increment hisptr. Add a test. (Yegappan Lakshmanan)
author Christian Brabandt <cb@256bit.org>
date Sat, 05 Mar 2016 21:30:05 +0100
parents 75ae211df37d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6079
75ae211df37d updated for version 7.4.378
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
1 Tests for quickfix window's title vim: set ft=vim :
75ae211df37d updated for version 7.4.378
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
2
75ae211df37d updated for version 7.4.378
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
3 STARTTEST
75ae211df37d updated for version 7.4.378
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
4 :so small.vim
75ae211df37d updated for version 7.4.378
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
5 :if !has('quickfix') | e! test.ok | wq! test.out | endif
75ae211df37d updated for version 7.4.378
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
6 :set efm=%E%f:%l:%c:%m
75ae211df37d updated for version 7.4.378
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
7 :cgetexpr ['file:1:1:message']
75ae211df37d updated for version 7.4.378
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
8 :let qflist=getqflist()
75ae211df37d updated for version 7.4.378
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
9 :call setqflist(qflist, 'r')
75ae211df37d updated for version 7.4.378
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
10 :copen
75ae211df37d updated for version 7.4.378
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
11 :let g:quickfix_title=w:quickfix_title
75ae211df37d updated for version 7.4.378
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
12 :wincmd p
75ae211df37d updated for version 7.4.378
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
13 :$put =g:quickfix_title
75ae211df37d updated for version 7.4.378
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
14 :/^Results/,$w test.out
75ae211df37d updated for version 7.4.378
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
15 :qa!
75ae211df37d updated for version 7.4.378
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
16 ENDTEST
75ae211df37d updated for version 7.4.378
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
17
75ae211df37d updated for version 7.4.378
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
18 Results of test_qf_title: