]>
Commit | Line | Data |
---|---|---|
5a088057 KK |
1 | To: vim_dev@googlegroups.com |
2 | Subject: Patch 7.3.645 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=UTF-8 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.3.645 | |
11 | Problem: No tests for patch 7.3.625 and 7.3.637. | |
12 | Solution: Add more tests for the "gn" command and try/catch. (Christian | |
13 | Brabandt) | |
14 | Files: src/testdir/test53.in, src/testdir/test53.ok, | |
15 | src/testdir/test55.in, src/testdir/test55.ok | |
16 | ||
17 | ||
18 | *** ../vim-7.3.644/src/testdir/test53.in 2012-07-25 15:06:20.000000000 +0200 | |
19 | --- src/testdir/test53.in 2012-08-29 16:37:44.000000000 +0200 | |
20 | *************** | |
21 | *** 34,40 **** | |
22 | gnd | |
23 | /[a]bcdx | |
24 | :1 | |
25 | ! 2gnd | |
26 | :/^start:/,/^end:/wq! test.out | |
27 | ENDTEST | |
28 | ||
29 | --- 34,46 ---- | |
30 | gnd | |
31 | /[a]bcdx | |
32 | :1 | |
33 | ! 2gnd/join | |
34 | ! /$ | |
35 | ! 0gnd | |
36 | ! /\>\zs | |
37 | ! 0gnd/^ | |
38 | ! gnd$h/\zs | |
39 | ! gnd | |
40 | :/^start:/,/^end:/wq! test.out | |
41 | ENDTEST | |
42 | ||
43 | *************** | |
44 | *** 57,60 **** | |
45 | --- 63,70 ---- | |
46 | one | |
47 | two | |
48 | abcdx | abcdx | abcdx | |
49 | + join | |
50 | + lines | |
51 | + zero width pattern | |
52 | + delete first and last chars | |
53 | end: | |
54 | *** ../vim-7.3.644/src/testdir/test53.ok 2012-07-25 15:06:20.000000000 +0200 | |
55 | --- src/testdir/test53.ok 2012-08-29 16:37:48.000000000 +0200 | |
56 | *************** | |
57 | *** 21,24 **** | |
58 | --- 21,27 ---- | |
59 | SEARCH: | |
60 | searchmatch | |
61 | abcdx | | abcdx | |
62 | + join lines | |
63 | + zerowidth pattern | |
64 | + elete first and last char | |
65 | end: | |
66 | *** ../vim-7.3.644/src/testdir/test55.in 2012-05-18 12:06:58.000000000 +0200 | |
67 | --- src/testdir/test55.in 2012-08-29 16:50:51.000000000 +0200 | |
68 | *************** | |
69 | *** 378,383 **** | |
70 | --- 378,393 ---- | |
71 | :unlet dict | |
72 | :call garbagecollect(1) | |
73 | :" | |
74 | + :" test for patch 7.3.637 | |
75 | + :let a = 'No error caught' | |
76 | + :try|foldopen|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry | |
77 | + o\12=a\r\e:" | |
78 | + :lang C | |
79 | + :redir => a | |
80 | + :try|foobar|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry | |
81 | + :redir END | |
82 | + o\12=a\r\e:" | |
83 | + :" | |
84 | :/^start:/,$wq! test.out | |
85 | ENDTEST | |
86 | ||
87 | *** ../vim-7.3.644/src/testdir/test55.ok 2012-05-18 12:06:58.000000000 +0200 | |
88 | --- src/testdir/test55.ok 2012-08-29 16:51:15.000000000 +0200 | |
89 | *************** | |
90 | *** 115,117 **** | |
91 | --- 115,123 ---- | |
92 | {'a': {'b': 'B'}} | |
93 | Vim(call):E737: a | |
94 | {'a': {'b': 'B'}} | |
95 | + Vim(foldopen):E490: | |
96 | + | |
97 | + | |
98 | + Error detected while processing : | |
99 | + E492: Not an editor command: foobar|catch|let a = matchstr(v:exception,'^[^ ]*')|endtry | |
100 | + | |
101 | *** ../vim-7.3.644/src/version.c 2012-08-29 16:34:23.000000000 +0200 | |
102 | --- src/version.c 2012-08-29 16:37:20.000000000 +0200 | |
103 | *************** | |
104 | *** 721,722 **** | |
105 | --- 721,724 ---- | |
106 | { /* Add new patch number below this line */ | |
107 | + /**/ | |
108 | + 645, | |
109 | /**/ | |
110 | ||
111 | -- | |
112 | TALL KNIGHT OF NI: Ni! | |
113 | "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD | |
114 | ||
115 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
116 | /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
117 | \\\ an exciting new programming language -- http://www.Zimbu.org /// | |
118 | \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |