diff src/testdir/test_vim9_expr.vim @ 20919:96bf2b304932 v8.2.1011

patch 8.2.1011: Vim9: some code not tested Commit: https://github.com/vim/vim/commit/c785b9a7f471f12825a1d6d2041c144c74242b7c Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jun 19 18:34:15 2020 +0200 patch 8.2.1011: Vim9: some code not tested Problem: Vim9: some code not tested. Solution: Add a few more test cases. Reorder checks for clearer error. Remove unreachable code.
author Bram Moolenaar <Bram@vim.org>
date Fri, 19 Jun 2020 18:45:03 +0200
parents fafa48fd3461
children 62912ad41aff
line wrap: on
line diff
--- a/src/testdir/test_vim9_expr.vim
+++ b/src/testdir/test_vim9_expr.vim
@@ -524,6 +524,7 @@ def Test_expr5()
 			g:anint)
   assert_equal(9, g:alsoint + 5)
   assert_equal(14, g:alsoint + g:anint)
+  assert_equal([1, 2, 3, 4], [1] + g:alist)
 
   assert_equal(54, 60 - 6)
   assert_equal(50, 60 -