comparison src/testdir/test_const.vim @ 17087:bc730bb54a7c v8.1.1543

patch 8.1.1543: const test fails with small features commit https://github.com/vim/vim/commit/b6e3b88ec8b757b3acf940f8b4938e975c39ba67 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jun 15 17:50:57 2019 +0200 patch 8.1.1543: const test fails with small features Problem: Const test fails with small features. Solution: Don't unlet non-existing variables.
author Bram Moolenaar <Bram@vim.org>
date Sat, 15 Jun 2019 18:00:07 +0200
parents 00ffed9bbb65
children cc5d4b4bae83
comparison
equal deleted inserted replaced
17086:74e4dcf7a65a 17087:bc730bb54a7c
41 unlet f 41 unlet f
42 unlet s 42 unlet s
43 unlet F 43 unlet F
44 unlet l 44 unlet l
45 unlet d 45 unlet d
46 unlet j 46 if has('channel')
47 unlet c 47 unlet j
48 unlet c
49 endif
48 unlet b 50 unlet b
49 unlet n 51 unlet n
50 unlet bl 52 unlet bl
51 unlet here 53 unlet here
52 endfunc 54 endfunc
90 unlet l:f 92 unlet l:f
91 unlet l:s 93 unlet l:s
92 unlet l:F 94 unlet l:F
93 unlet l:l 95 unlet l:l
94 unlet l:d 96 unlet l:d
95 unlet l:j 97 if has('channel')
96 unlet l:c 98 unlet l:j
99 unlet l:c
100 endif
97 unlet l:b 101 unlet l:b
98 unlet l:n 102 unlet l:n
99 unlet l:bl 103 unlet l:bl
100 unlet l:here 104 unlet l:here
101 endfunc 105 endfunc