Mercurial > vim
annotate src/testdir/test14.in @ 15541:0e39325d5ea1 v8.1.0778
patch 8.1.0778: terminal test fails on MS-Windows
commit https://github.com/vim/vim/commit/d383c92ec1d14ffd5c3802f0ffd763e91d547fa8
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 19 15:27:08 2019 +0100
patch 8.1.0778: terminal test fails on MS-Windows
Problem: Terminal test fails on MS-Windows.
Solution: Temporarily skip the test on MS-Windows. Do run it both in
terminal and GUI on other systems.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 19 Jan 2019 15:30:08 +0100 |
parents | ae45d497868f |
children |
rev | line source |
---|---|
7 | 1 Tests for "vaBiB", end could be wrong. |
2 Also test ":s/pat/sub/" with different ~s in sub. | |
3 Also test for ^Vxff and ^Vo123 in Insert mode. | |
4 Also test "[m", "]m", "[M" and "]M" | |
4240 | 5 Also test search() |
7 | 6 |
7 STARTTEST | |
8 :so small.vim | |
11091
ae45d497868f
patch 8.0.0433: beeps when running tests
Christian Brabandt <cb@256bit.org>
parents:
5616
diff
changeset
|
9 :set belloff=all |
7 | 10 /Start cursor here |
11 vaBiBD:?Bug?,/Piece/-2w! test.out | |
12 /^- Bug | |
13 :s/u/~u~/ | |
14 :s/i/~u~/ | |
15 :s/o/~~~/ | |
16 :.w >>test.out | |
17 :if has("ebcdic") | |
18 : let tt = "o\<C-V>193\<C-V>xc2\<C-V>o303 \<C-V>90a\<C-V>xfg\<C-V>o578\<Esc>" | |
19 :else | |
20 : let tt = "o\<C-V>65\<C-V>x42\<C-V>o103 \<C-V>33a\<C-V>xfg\<C-V>o78\<Esc>" | |
21 :endif | |
22 :exe "normal " . tt | |
1405 | 23 :unlet tt |
7 | 24 :.w >>test.out |
25 :set vb | |
26 /^Piece | |
27 2]maA:.w >>test.out | |
28 j]maB:.w >>test.out | |
29 ]maC:.w >>test.out | |
30 [maD:.w >>test.out | |
31 k2[maE:.w >>test.out | |
32 3[maF:.w >>test.out | |
33 ]MaG:.w >>test.out | |
34 j2]MaH:.w >>test.out | |
35 ]M]MaI:.w >>test.out | |
36 2[MaJ:.w >>test.out | |
37 k[MaK:.w >>test.out | |
38 3[MaL:.w >>test.out | |
4240 | 39 :" |
40 /^foobar | |
41 :let startline = line('.') | |
42 :call search('foobar', 'c') | |
43 :call append(line('$'), line('.') - startline) | |
44 j:call search('^$', 'c') | |
45 :call append(line('$'), line('.') - startline) | |
46 :call search('^$', 'bc') | |
47 :call append(line('$'), line('.') - startline) | |
4252 | 48 /two |
49 :call search('.', 'c') | |
50 :call append(line('$'), getline('.')[col('.') - 1:]) | |
5606 | 51 :" |
52 /^substitute | |
53 :s/foo/bar/ | |
54 :$put =@/ | |
55 /^substitute | |
56 :keeppatterns s/asdf/xyz/ | |
57 :$put =@/ | |
58 /^substitute | |
59 Y:$put =@0 | |
5616 | 60 /bar /e |
61 :$put =@0 | |
62 -:keeppatterns /xyz | |
63 0dn:/^search()/,$w >>test.out | |
7 | 64 :qa! |
65 ENDTEST | |
66 | |
67 - Bug in "vPPPP" on this text (Webb): | |
68 { | |
69 cmd; | |
70 { | |
71 cmd; /* <-- Start cursor here */ | |
72 { | |
73 } | |
74 } | |
75 } | |
76 | |
77 Piece of Java | |
78 { | |
79 tt m1 { | |
80 t1; | |
81 } e1 | |
82 | |
83 tt m2 { | |
84 t2; | |
85 } e2 | |
86 | |
87 tt m3 { | |
88 if (x) | |
89 { | |
90 t3; | |
91 } | |
92 } e3 | |
93 } | |
4240 | 94 |
95 foobar | |
96 | |
5606 | 97 substitute foo asdf |
4240 | 98 |
4252 | 99 one two |
4240 | 100 search() |