Mercurial > vim
comparison src/testdir/test57.in @ 293:f811be6fa9b5
updated for version 7.0077
author | vimboss |
---|---|
date | Tue, 31 May 2005 22:14:58 +0000 |
parents | |
children | 1cdd2661f34c |
comparison
equal
deleted
inserted
replaced
292:bf6ee000a80c | 293:f811be6fa9b5 |
---|---|
1 Tests for :sort command. vim: set ft=vim : | |
2 | |
3 STARTTEST | |
4 :so small.vim | |
5 :" | |
6 :/^t1:/+1,/^t2/-1sort | |
7 :/^t2:/+1,/^t3/-1sort u | |
8 :/^t3:/+1,/^t4/-1sort u /[^:]*:/ | |
9 :/^t4:/+1,/^t5/-1sort n | |
10 :/^t5:/+1,/^t6/-1sort n -[^:]*:- | |
11 :/^t6:/+1,/^t7/-1sort o | |
12 :/^t7:/+1,/^t8/-1sort x ,.*/, | |
13 :/^t8:/+1,/^t9/-1sort n o | |
14 :/^t1:/,$wq! test.out | |
15 ENDTEST | |
16 | |
17 t1: alphabetical | |
18 two test | |
19 One test | |
20 one test | |
21 Two test | |
22 t2: alpha, unique | |
23 One test | |
24 one test | |
25 Two test | |
26 one test | |
27 Two test | |
28 t3: alpha, unique, skip pattern | |
29 one: xay | |
30 two: aaa | |
31 another: tuvy | |
32 t4: number | |
33 asdf 83 asd | |
34 one 333 | |
35 xce 9 | |
36 t5: number and skip | |
37 asdf 3 a: sd 11 | |
38 one 33:4 99 | |
39 :9 | |
40 t6: octal | |
41 2389 | |
42 111 | |
43 asdf 0014 | |
44 t7: hex and skip | |
45 sf/0x1d3 | |
46 0x44/1a1 | |
47 asd/ad 1413 | |
48 t8: wrong arguments | |
49 ccc | |
50 bbb | |
51 aaa | |
52 t8: |