Mercurial > vim
diff src/testdir/test_eval_stuff.vim @ 24958:21ec48d542a8 v8.2.3016
patch 8.2.3016: confusing error when expression is followed by comma
Commit: https://github.com/vim/vim/commit/fae55a9cb0838e4c2e634e55a3468af4a75fbdf2
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jun 17 22:08:30 2021 +0200
patch 8.2.3016: confusing error when expression is followed by comma
Problem: Confusing error when expression is followed by comma.
Solution: Give a different error for trailing text. (closes https://github.com/vim/vim/issues/8395)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 17 Jun 2021 22:15:03 +0200 |
parents | 5f8dd7b3ae41 |
children | 7144d2ffc86b |
line wrap: on
line diff
--- a/src/testdir/test_eval_stuff.vim +++ b/src/testdir/test_eval_stuff.vim @@ -165,7 +165,7 @@ func Test_string_concat_scriptversion2() call assert_fails('echo a . b', 'E15:') call assert_fails('let a .= b', 'E985:') - call assert_fails('let vers = 1.2.3', 'E15:') + call assert_fails('let vers = 1.2.3', 'E488:') if has('float') let f = .5