annotate src/testdir/test10.in @ 8583:537bbbd4e987 v7.4.1581

commit https://github.com/vim/vim/commit/65639032bb7b17996cd255d1508a1df4ad528a1f Author: Bram Moolenaar <Bram@vim.org> Date: Wed Mar 16 21:40:30 2016 +0100 patch 7.4.1581 Problem: Using ":call dict.func()" where the function is a partial does not work. Using "dict.func()" where the function does not take a Dictionary does not work. Solution: Handle partial properly in ":call". (Yasuhiro Matsumoto)
author Christian Brabandt <cb@256bit.org>
date Wed, 16 Mar 2016 21:45:04 +0100
parents bbf1fbbe4ab4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
636
5ad3b5d4ecc0 updated for version 7.0184
vimboss
parents: 7
diff changeset
1 Test for 'errorformat'. This will fail if the quickfix feature was disabled.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 STARTTEST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 :so small.vim
3002
7d4e5e31d8c1 updated for version 7.3.273
Bram Moolenaar <bram@vim.org>
parents: 636
diff changeset
5 :" Also test a BOM is ignored.
7d4e5e31d8c1 updated for version 7.3.273
Bram Moolenaar <bram@vim.org>
parents: 636
diff changeset
6 :so mbyte.vim
7d4e5e31d8c1 updated for version 7.3.273
Bram Moolenaar <bram@vim.org>
parents: 636
diff changeset
7 :set encoding=utf-8
3016
58bba69b3371 updated for version 7.3.280
Bram Moolenaar <bram@vim.org>
parents: 3002
diff changeset
8 :7/start of errorfile/,/end of errorfile/w! Xerrorfile1
58bba69b3371 updated for version 7.3.280
Bram Moolenaar <bram@vim.org>
parents: 3002
diff changeset
9 :7/start of errorfile/,/end of errorfile/-1w! Xerrorfile2
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 :/start of testfile/,/end of testfile/w! Xtestfile
3555
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
11 :set efm+==%f=\\,\ line\ %l%*\\D%v%*[^\ ]\ %m
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
12 :set efm^=%AError\ in\ \"%f\"\ at\ line\ %l:,%Z%p^,%C%m
3016
58bba69b3371 updated for version 7.3.280
Bram Moolenaar <bram@vim.org>
parents: 3002
diff changeset
13 :cf Xerrorfile2
58bba69b3371 updated for version 7.3.280
Bram Moolenaar <bram@vim.org>
parents: 3002
diff changeset
14 :clast
58bba69b3371 updated for version 7.3.280
Bram Moolenaar <bram@vim.org>
parents: 3002
diff changeset
15 :copen
58bba69b3371 updated for version 7.3.280
Bram Moolenaar <bram@vim.org>
parents: 3002
diff changeset
16 :let a=w:quickfix_title
58bba69b3371 updated for version 7.3.280
Bram Moolenaar <bram@vim.org>
parents: 3002
diff changeset
17 :wincmd p
3555
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
18 lgR=a 
3016
58bba69b3371 updated for version 7.3.280
Bram Moolenaar <bram@vim.org>
parents: 3002
diff changeset
19 :cf Xerrorfile1
3555
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
20 grA
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
21 :cn
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
22 gRLINE 6, COL 19
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
23 :cn
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
24 gRNO COLUMN SPECIFIED
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 :cn
3555
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
26 gRAGAIN NO COLUMN
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
27 :cn
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
28 gRCOL 1
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
29 :cn
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
30 gRCOL 2
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 :cn
3555
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
32 gRCOL 10
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
33 :cn
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
34 gRVCOL 10
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
35 :cn
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
36 grI
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
37 :cn
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
38 gR. SPACE POINTER
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 :cn
3555
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
40 gR. DOT POINTER
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
41 :cn
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
42 gR. DASH POINTER
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 :cn
3555
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
44 gR. TAB-SPACE POINTER
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
45 :clast
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
46 :cprev
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
47 :cprev
3016
58bba69b3371 updated for version 7.3.280
Bram Moolenaar <bram@vim.org>
parents: 3002
diff changeset
48 :wincmd w
58bba69b3371 updated for version 7.3.280
Bram Moolenaar <bram@vim.org>
parents: 3002
diff changeset
49 :let a=w:quickfix_title
58bba69b3371 updated for version 7.3.280
Bram Moolenaar <bram@vim.org>
parents: 3002
diff changeset
50 :wincmd p
3555
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
51 lgR=a 
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 :w! test.out " Write contents of this file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 :qa!
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 ENDTEST
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 start of errorfile
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 "Xtestfile", line 4.12: 1506-045 (S) Undeclared identifier fd_set.
3555
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
58 "Xtestfile", line 6 col 19; this is an error
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 gcc -c -DHAVE_CONFIsing-prototypes -I/usr/X11R6/include version.c
3555
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
60 Xtestfile:9: parse error before `asd'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 make: *** [vim] Error 1
3555
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
62 in file "Xtestfile" linenr 10: there is an error
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 2 returned
3555
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
65 "Xtestfile", line 11 col 1; this is an error
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
66 "Xtestfile", line 12 col 2; this is another error
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
67 "Xtestfile", line 14:10; this is an error in column 10
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
68 =Xtestfile=, line 15:10; this is another error, but in vcol 10 this time
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
69 "Xtestfile", linenr 16: yet another problem
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
70 Error in "Xtestfile" at line 17:
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
71 x should be a dot
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
72 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 17
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
73 ^
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
74 Error in "Xtestfile" at line 18:
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
75 x should be a dot
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
76 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 18
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
77 .............^
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
78 Error in "Xtestfile" at line 19:
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
79 x should be a dot
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
80 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 19
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
81 --------------^
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
82 Error in "Xtestfile" at line 20:
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
83 x should be a dot
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
84 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 20
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
85 ^
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 Does anyone know what is the problem and how to correction it?
3016
58bba69b3371 updated for version 7.3.280
Bram Moolenaar <bram@vim.org>
parents: 3002
diff changeset
88 "Xtestfile", line 21 col 9: What is the title of the quickfix window?
58bba69b3371 updated for version 7.3.280
Bram Moolenaar <bram@vim.org>
parents: 3002
diff changeset
89 "Xtestfile", line 22 col 9: What is the title of the quickfix window?
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 end of errorfile
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 start of testfile
3555
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
93 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 2
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
94 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 3
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
95 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 4
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
96 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 5
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
97 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 6
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
98 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 7
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
99 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 8
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
100 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 9
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
101 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 10
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
102 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 11
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
103 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 12
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
104 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 13
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
105 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 14
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
106 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 15
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
107 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 16
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
108 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 17
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
109 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 18
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
110 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 19
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
111 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 20
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
112 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 21
bbf1fbbe4ab4 updated for version 7.3.538
Bram Moolenaar <bram@vim.org>
parents: 3016
diff changeset
113 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx line 22
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 end of testfile