Mercurial > vim
comparison src/testdir/test_taglist.vim @ 21765:08940efa6b4e v8.2.1432
patch 8.2.1432: various inconsistencies in test files
Commit: https://github.com/vim/vim/commit/6d91bcb4d23b5c6a0be72c384beaf385e2d9d606
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Aug 12 18:50:36 2020 +0200
patch 8.2.1432: various inconsistencies in test files
Problem: Various inconsistencies in test files.
Solution: Add modelines where they were missing. Use Check commands instead
of silently skipping over tests. Adjust indents and comments.
(Ken Takata, closes #6695)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 12 Aug 2020 19:00:08 +0200 |
parents | 6a4806e326dd |
children | ff21e2962490 |
comparison
equal
deleted
inserted
replaced
21764:476b6faad407 | 21765:08940efa6b4e |
---|---|
1 " test taglist(), tagfiles() functions and :tags command | 1 " test taglist(), tagfiles() functions and :tags command |
2 | 2 |
3 source check.vim | |
3 source view_util.vim | 4 source view_util.vim |
4 | 5 |
5 func Test_taglist() | 6 func Test_taglist() |
6 call writefile([ | 7 call writefile([ |
7 \ "FFoo\tXfoo\t1", | 8 \ "FFoo\tXfoo\t1", |
42 set tags& | 43 set tags& |
43 bwipe | 44 bwipe |
44 endfunc | 45 endfunc |
45 | 46 |
46 func Test_taglist_native_etags() | 47 func Test_taglist_native_etags() |
47 if !has('emacs_tags') | 48 CheckFeature emacs_tags |
48 return | 49 |
49 endif | |
50 call writefile([ | 50 call writefile([ |
51 \ "\x0c", | 51 \ "\x0c", |
52 \ "src/os_unix.c,13491", | 52 \ "src/os_unix.c,13491", |
53 \ "set_signals(\x7f1335,32699", | 53 \ "set_signals(\x7f1335,32699", |
54 \ "reset_signals(\x7f1407,34136", | 54 \ "reset_signals(\x7f1407,34136", |
62 call delete('Xtags') | 62 call delete('Xtags') |
63 set tags& | 63 set tags& |
64 endfunc | 64 endfunc |
65 | 65 |
66 func Test_taglist_ctags_etags() | 66 func Test_taglist_ctags_etags() |
67 if !has('emacs_tags') | 67 CheckFeature emacs_tags |
68 return | 68 |
69 endif | |
70 call writefile([ | 69 call writefile([ |
71 \ "\x0c", | 70 \ "\x0c", |
72 \ "src/os_unix.c,13491", | 71 \ "src/os_unix.c,13491", |
73 \ "set_signals(void)\x7fset_signals\x011335,32699", | 72 \ "set_signals(void)\x7fset_signals\x011335,32699", |
74 \ "reset_signals(void)\x7freset_signals\x011407,34136", | 73 \ "reset_signals(void)\x7freset_signals\x011407,34136", |