diff src/testdir/test_vim9_expr.vim @ 20305:9a5e2370df0e v8.2.0708

patch 8.2.0708: Vim9: constant expressions are not simplified Commit: https://github.com/vim/vim/commit/61a89816996a0cad0d711c91e6e7cea9a9101211 Author: Bram Moolenaar <Bram@vim.org> Date: Thu May 7 16:58:17 2020 +0200 patch 8.2.0708: Vim9: constant expressions are not simplified Problem: Vim9: constant expressions are not simplified. Solution: Simplify string concatenation.
author Bram Moolenaar <Bram@vim.org>
date Thu, 07 May 2020 17:00:03 +0200
parents ce1b73835822
children 3cbcee39fc5c
line wrap: on
line diff
--- a/src/testdir/test_vim9_expr.vim
+++ b/src/testdir/test_vim9_expr.vim
@@ -485,8 +485,10 @@ def Test_expr5()
   assert_equal(-6, g:alsoint - g:anint)
 
   assert_equal('hello', 'hel' .. 'lo')
-  assert_equal('hello 123', 'hello ' ..
-					123)
+  " TODO: a line break here doesn't work
+"  assert_equal('hello 123', 'hello ' ..
+"					123)
+  assert_equal('hello 123', 'hello ' ..  123)
   assert_equal('123 hello', 123 .. ' hello')
   assert_equal('123456', 123 .. 456)