Mercurial > vim
comparison src/testdir/test10.in @ 3002:7d4e5e31d8c1 v7.3.273
updated for version 7.3.273
Problem: A BOM in an error file is seen as text. (Aleksey Baibarin)
Solution: Remove the BOM from the text before evaluating. (idea by Christian
Brabandt)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 10 Aug 2011 13:21:46 +0200 |
parents | 5ad3b5d4ecc0 |
children | 58bba69b3371 |
comparison
equal
deleted
inserted
replaced
3001:f6729327ecaf | 3002:7d4e5e31d8c1 |
---|---|
1 Test for 'errorformat'. This will fail if the quickfix feature was disabled. | 1 Test for 'errorformat'. This will fail if the quickfix feature was disabled. |
2 | 2 |
3 STARTTEST | 3 STARTTEST |
4 :so small.vim | 4 :so small.vim |
5 :" Also test a BOM is ignored. | |
6 :so mbyte.vim | |
7 :set encoding=utf-8 | |
5 :/start of errorfile/,/end of errorfile/w! Xerrorfile | 8 :/start of errorfile/,/end of errorfile/w! Xerrorfile |
6 :/start of testfile/,/end of testfile/w! Xtestfile | 9 :/start of testfile/,/end of testfile/w! Xtestfile |
7 :cf Xerrorfile | 10 :cf Xerrorfile |
8 rA | 11 rA |
9 :cn | 12 :cn |
18 :qa! | 21 :qa! |
19 ENDTEST | 22 ENDTEST |
20 | 23 |
21 start of errorfile | 24 start of errorfile |
22 "Xtestfile", line 4.12: 1506-045 (S) Undeclared identifier fd_set. | 25 "Xtestfile", line 4.12: 1506-045 (S) Undeclared identifier fd_set. |
23 "Xtestfile", line 7 col 19; this is an error | 26 "Xtestfile", line 7 col 19; this is an error |
24 gcc -c -DHAVE_CONFIsing-prototypes -I/usr/X11R6/include version.c | 27 gcc -c -DHAVE_CONFIsing-prototypes -I/usr/X11R6/include version.c |
25 Xtestfile:13: parse error before `asd' | 28 Xtestfile:13: parse error before `asd' |
26 make: *** [vim] Error 1 | 29 make: *** [vim] Error 1 |
27 in file "Xtestfile" linenr 16: there is an error | 30 in file "Xtestfile" linenr 16: there is an error |
28 | 31 |