comparison src/testdir/test_xxd.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 d7d6993fc266
children 5690cf66ee07
comparison
equal deleted inserted replaced
21764:476b6faad407 21765:08940efa6b4e
1 " Test for the xxd command 1 " Test for the xxd command
2
2 if empty($XXD) && executable('..\xxd\xxd.exe') 3 if empty($XXD) && executable('..\xxd\xxd.exe')
3 let s:xxd_cmd = '..\xxd\xxd.exe' 4 let s:xxd_cmd = '..\xxd\xxd.exe'
4 elseif empty($XXD) || !executable($XXD) 5 elseif empty($XXD) || !executable($XXD)
5 throw 'Skipped: xxd program missing' 6 throw 'Skipped: xxd program missing'
6 else 7 else
226 new 227 new
227 exe 'r! ' . s:xxd_cmd . ' -v' 228 exe 'r! ' . s:xxd_cmd . ' -v'
228 call assert_match("xxd V1.10 .* by Juergen Weigert", join(getline(1, 3))) 229 call assert_match("xxd V1.10 .* by Juergen Weigert", join(getline(1, 3)))
229 bwipe! 230 bwipe!
230 endfunc 231 endfunc
232
233 " vim: shiftwidth=2 sts=2 expandtab