Mercurial > vim
annotate src/testdir/test_alot.vim @ 27970:212c5894b8b1 v8.2.4510
patch 8.2.4510: Vim9: shortening commands leads to confusing script
Commit: https://github.com/vim/vim/commit/204852ae2adfdde10c656ca7f14e5b4207a69172
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 5 12:56:44 2022 +0000
patch 8.2.4510: Vim9: shortening commands leads to confusing script
Problem: Vim9: shortening commands leads to confusing script.
Solution: In Vim9 script require at least ":cont" for ":continue", "const"
instead of "cons", "break" instead of "brea", "catch" instead of
"cat", "else" instead of "el" "elseif" instead of "elsei" "endfor"
instead of "endfo" "endif" instead of "en" "endtry" instead of
"endt", "finally" instead of "fina", "throw" instead of "th",
"while" instead of "wh".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 05 Mar 2022 14:00:03 +0100 |
parents | 5dfee9b1eabe |
children | 320991d9812e |
rev | line source |
---|---|
7291
6ffc75d807bd
commit https://github.com/vim/vim/commit/b00da1d6d1655cb6e415f84ecc3be5ff3b790811
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
1 " A series of tests that can run in one Vim invocation. |
6ffc75d807bd
commit https://github.com/vim/vim/commit/b00da1d6d1655cb6e415f84ecc3be5ff3b790811
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
2 " This makes testing go faster, since Vim doesn't need to restart. |
6ffc75d807bd
commit https://github.com/vim/vim/commit/b00da1d6d1655cb6e415f84ecc3be5ff3b790811
Christian Brabandt <cb@256bit.org>
parents:
diff
changeset
|
3 |
14475
dddba3937532
patch 8.1.0251: using full path is not supported for 'backupdir'
Christian Brabandt <cb@256bit.org>
parents:
14381
diff
changeset
|
4 source test_backup.vim |
14754
d4db9adc8642
patch 8.1.0389: :behave command is not tested
Christian Brabandt <cb@256bit.org>
parents:
14700
diff
changeset
|
5 source test_behave.vim |
13970
939cfab265b9
patch 8.1.0003: the :compiler command is not tested
Christian Brabandt <cb@256bit.org>
parents:
12718
diff
changeset
|
6 source test_compiler.vim |
15619
a4882149b661
patch 8.1.0817: ":=" command is not tested
Bram Moolenaar <Bram@vim.org>
parents:
15010
diff
changeset
|
7 source test_ex_equal.vim |
10889
5780bd3a5a7e
patch 8.0.0334: can't access b:changedtick from a dict reference
Christian Brabandt <cb@256bit.org>
parents:
10799
diff
changeset
|
8 source test_ex_undo.vim |
11303
ef32a5c74515
patch 8.0.0537: illegal memory access with :z and large count
Christian Brabandt <cb@256bit.org>
parents:
11273
diff
changeset
|
9 source test_ex_z.vim |
18924
a18d7782b80f
patch 8.2.0023: command line editing not sufficiently tested
Bram Moolenaar <Bram@vim.org>
parents:
18540
diff
changeset
|
10 source test_ex_mode.vim |
9430
e70fd2eb3ae1
commit https://github.com/vim/vim/commit/1e5e1231ac9e1ba9678812c96f9d554a078eeec4
Christian Brabandt <cb@256bit.org>
parents:
9422
diff
changeset
|
11 source test_expand.vim |
11303
ef32a5c74515
patch 8.0.0537: illegal memory access with :z and large count
Christian Brabandt <cb@256bit.org>
parents:
11273
diff
changeset
|
12 source test_expand_dllpath.vim |
14700
0a3b9ecf7cb8
patch 8.1.0362: cannot get the script line number when executing a function
Christian Brabandt <cb@256bit.org>
parents:
14475
diff
changeset
|
13 source test_expand_func.vim |
8485
675ec6cc9021
commit https://github.com/vim/vim/commit/74c5bbf13435a7ab1e3461078bbcb1200f0451e1
Christian Brabandt <cb@256bit.org>
parents:
8451
diff
changeset
|
14 source test_feedkeys.vim |
8451
c0b5c2b0a5ee
commit https://github.com/vim/vim/commit/8049253b96838b3584600e5ad229abad37a95b10
Christian Brabandt <cb@256bit.org>
parents:
8445
diff
changeset
|
15 source test_file_perm.vim |
10268
c55a7232fb48
commit https://github.com/vim/vim/commit/e8ef3a093453b73594e15462d4de50b011c8ba66
Christian Brabandt <cb@256bit.org>
parents:
10242
diff
changeset
|
16 source test_fnamemodify.vim |
11273
96d83cd2904a
patch 8.0.0522: Win32: when 'clipboard' is "unnamed" yyp does not work
Christian Brabandt <cb@256bit.org>
parents:
11225
diff
changeset
|
17 source test_ga.vim |
7765
9c0d554a497e
commit https://github.com/vim/vim/commit/7465c6375fd60eab603681bcad8a8744ddc31614
Christian Brabandt <cb@256bit.org>
parents:
7712
diff
changeset
|
18 source test_glob2regpat.vim |
11273
96d83cd2904a
patch 8.0.0522: Win32: when 'clipboard' is "unnamed" yyp does not work
Christian Brabandt <cb@256bit.org>
parents:
11225
diff
changeset
|
19 source test_global.vim |
9377
5ec4fbfe38c5
commit https://github.com/vim/vim/commit/70e136e1d86ea1d795774824c7b712245912946d
Christian Brabandt <cb@256bit.org>
parents:
9359
diff
changeset
|
20 source test_jumps.vim |
7293
979f8a595326
commit https://github.com/vim/vim/commit/6cd1345307440491580e5e86cb82c54ee9a46baa
Christian Brabandt <cb@256bit.org>
parents:
7291
diff
changeset
|
21 source test_lispwords.vim |
15010
e3910b9827d0
patch 8.1.0516: :move command marks buffer modified when nothing changed
Bram Moolenaar <Bram@vim.org>
parents:
14832
diff
changeset
|
22 source test_move.vim |
10664
94db9c08e206
patch 8.0.0222: blockwise put on multi-byte character misplaced
Christian Brabandt <cb@256bit.org>
parents:
10577
diff
changeset
|
23 source test_put.vim |
7979
22367b9f528a
commit https://github.com/vim/vim/commit/79c2c881bb7ae1cbdeeff91d4875b4bf2e54df06
Christian Brabandt <cb@256bit.org>
parents:
7765
diff
changeset
|
24 source test_reltime.vim |
12718
f8f505ffc0a6
patch 8.0.1237: ":set scroll&" often gives an error
Christian Brabandt <cb@256bit.org>
parents:
12644
diff
changeset
|
25 source test_scroll_opt.vim |
7358
6fbeef3b65e6
commit https://github.com/vim/vim/commit/ad4d8a192abf44b89371af87d70b971cd654b799
Christian Brabandt <cb@256bit.org>
parents:
7293
diff
changeset
|
26 source test_searchpos.vim |
7426
779a7c14c795
commit https://github.com/vim/vim/commit/8f79acdf7ede2693fbda53c3c9693f16db4f193b
Christian Brabandt <cb@256bit.org>
parents:
7358
diff
changeset
|
27 source test_set.vim |
17688
c945f1d03b1c
patch 8.1.1841: no test for Ex shift commands
Bram Moolenaar <Bram@vim.org>
parents:
16447
diff
changeset
|
28 source test_shift.vim |
11633
3e2ee43a3c7b
patch 8.0.0699: checksum tests are not actually run
Christian Brabandt <cb@256bit.org>
parents:
11459
diff
changeset
|
29 source test_sha256.vim |
8872
4d4de770f970
commit https://github.com/vim/vim/commit/f73d3bc253fa79ad220f52f04b93e782e95a9d43
Christian Brabandt <cb@256bit.org>
parents:
8847
diff
changeset
|
30 source test_tabline.vim |
9913
bb00c661b3a4
commit https://github.com/vim/vim/commit/66e29d7112e437b2b50efe1f82c7e892736d23e4
Christian Brabandt <cb@256bit.org>
parents:
9906
diff
changeset
|
31 source test_tagcase.vim |
16447
54ffc82f38a8
patch 8.1.1228: not possible to process tags with a function
Bram Moolenaar <Bram@vim.org>
parents:
15961
diff
changeset
|
32 source test_tagfunc.vim |
7498
3fcd3d235f7b
commit https://github.com/vim/vim/commit/af8af8bfac5792fa64efbc524032d568cc7754f7
Christian Brabandt <cb@256bit.org>
parents:
7488
diff
changeset
|
33 source test_unlet.vim |
20035
4c9acbd6b3c7
patch 8.2.0573: using :version twice leaks memory
Bram Moolenaar <Bram@vim.org>
parents:
19713
diff
changeset
|
34 source test_version.vim |
15838
de068e9acd8e
patch 8.1.0926: no test for :wnext, :wNext and :wprevious
Bram Moolenaar <Bram@vim.org>
parents:
15619
diff
changeset
|
35 source test_wnext.vim |