view src/testdir/test106.in @ 7761:db5864658024 v7.4.1178

commit https://github.com/vim/vim/commit/767d8c1a1ae762ecf47297c168b8c23caf05d30a Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jan 25 20:22:54 2016 +0100 patch 7.4.1178 Problem: empty() doesn't work for the new special variables. Solution: Make empty() work. (Damien)
author Christian Brabandt <cb@256bit.org>
date Mon, 25 Jan 2016 20:30:05 +0100
parents fb24b025c7cf
children
line wrap: on
line source

Tests for errorformat.  vim: set ft=vim ts=8 :

STARTTEST
:so small.vim
:if !has('quickfix') | e! test.ok | wq! test.out | endif
:set efm=%EEEE%m,%WWWW%m,%+CCCC%.%#,%-GGGG%.%#
:cgetexpr ['WWWW', 'EEEE', 'CCCC']
:$put =strtrans(string(map(getqflist(), '[v:val.text, v:val.valid]')))
:cgetexpr ['WWWW', 'GGGG', 'EEEE', 'CCCC']
:$put =strtrans(string(map(getqflist(), '[v:val.text, v:val.valid]')))
:cgetexpr ['WWWW', 'GGGG', 'ZZZZ', 'EEEE', 'CCCC', 'YYYY']
:$put =strtrans(string(map(getqflist(), '[v:val.text, v:val.valid]')))
:/^Results/,$wq! test.out
ENDTEST

Results of test106: