comparison src/testdir/test_const.vim @ 17918:9606c0adc148 v8.1.1955

patch 8.1.1955: tests contain typos Commit: https://github.com/vim/vim/commit/1bc353b6f1b063e189e0cef26f8dc586dcf9161f Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 1 14:45:28 2019 +0200 patch 8.1.1955: tests contain typos Problem: Tests contain typos. Solution: Correct the typos. (Dominique Pelle)
author Bram Moolenaar <Bram@vim.org>
date Sun, 01 Sep 2019 15:00:04 +0200
parents 6990c1160ea5
children baf890fa1621
comparison
equal deleted inserted replaced
17917:5ccb73c85dd1 17918:9606c0adc148
123 const s:x = 0 123 const s:x = 0
124 call assert_fails('let s:x = 1', 'E741:') 124 call assert_fails('let s:x = 1', 'E741:')
125 unlet s:x 125 unlet s:x
126 endfunc 126 endfunc
127 127
128 func Test_descructuring_with_lock() 128 func Test_destructuring_with_lock()
129 const [a, b, c] = [1, 1.1, 'vim'] 129 const [a, b, c] = [1, 1.1, 'vim']
130 130
131 call assert_fails('let a = 1', 'E741:') 131 call assert_fails('let a = 1', 'E741:')
132 call assert_fails('let b = 1.1', 'E741:') 132 call assert_fails('let b = 1.1', 'E741:')
133 call assert_fails('let c = "vim"', 'E741:') 133 call assert_fails('let c = "vim"', 'E741:')