comparison src/testdir/test_expand_dllpath.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 18cda18a38e2
children dbec60b8c253
comparison
equal deleted inserted replaced
21764:476b6faad407 21765:08940efa6b4e
1 " Test for expanding dllpath options
2
1 func s:test_expand_dllpath(optname) 3 func s:test_expand_dllpath(optname)
2 let $TEST_EXPAND_DLLPATH = '/dllpath/lib' . substitute(a:optname, '\zedll$', '.', '') 4 let $TEST_EXPAND_DLLPATH = '/dllpath/lib' . substitute(a:optname, '\zedll$', '.', '')
3 execute 'let dllpath_save = &' . a:optname 5 execute 'let dllpath_save = &' . a:optname
4 try 6 try
5 execute 'set ' . a:optname . '=$TEST_EXPAND_DLLPATH' 7 execute 'set ' . a:optname . '=$TEST_EXPAND_DLLPATH'
28 call s:generate_test_if_exists('perldll') 30 call s:generate_test_if_exists('perldll')
29 call s:generate_test_if_exists('pythondll') 31 call s:generate_test_if_exists('pythondll')
30 call s:generate_test_if_exists('pythonthreedll') 32 call s:generate_test_if_exists('pythonthreedll')
31 call s:generate_test_if_exists('rubydll') 33 call s:generate_test_if_exists('rubydll')
32 call s:generate_test_if_exists('tcldll') 34 call s:generate_test_if_exists('tcldll')
35
36 " vim: shiftwidth=2 sts=2 expandtab