Mercurial > vim
diff src/testdir/test_let.vim @ 25611:f142bfebaac1 v8.2.3342
patch 8.2.3342: test for :let errors fails
Commit: https://github.com/vim/vim/commit/b521766c56c0e17db6e8615f35cf21012af0670c
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 14 14:27:30 2021 +0200
patch 8.2.3342: test for :let errors fails
Problem: Test for :let errors fails.
Solution: Adjust the test and how to avoid a second error message.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 14 Aug 2021 14:30:04 +0200 |
parents | 3b8d3b383fd6 |
children | 769599ee9f06 |
line wrap: on
line diff
--- a/src/testdir/test_let.vim +++ b/src/testdir/test_let.vim @@ -279,7 +279,7 @@ func Test_let_errors() let l = [1, 2, 3] call assert_fails('let l[:] = 5', 'E709:') - call assert_fails('let x:lnum=5', ['E121:', 'E488:']) + call assert_fails('let x:lnum=5', ['E121:', 'E121:']) call assert_fails('let v:=5', 'E461:') call assert_fails('let [a]', 'E474:') call assert_fails('let [a, b] = [', 'E697:')