diff src/testdir/test_eval_stuff.vim @ 18096:609b351cb58f v8.1.2043

patch 8.1.2043: not sufficient testing for quoted numbers Commit: https://github.com/vim/vim/commit/ea8dcf8346f488786023fd03ec1c013cda243040 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 15 21:12:22 2019 +0200 patch 8.1.2043: not sufficient testing for quoted numbers Problem: Not sufficient testing for quoted numbers. Solution: Add a few more test cases.
author Bram Moolenaar <Bram@vim.org>
date Sun, 15 Sep 2019 21:15:04 +0200
parents 9d6832a5426f
children e3848b251a01
line wrap: on
line diff
--- a/src/testdir/test_eval_stuff.vim
+++ b/src/testdir/test_eval_stuff.vim
@@ -200,6 +200,9 @@ func Test_vvar_scriptversion4()
   call assert_equal(64, 0b1'00'00'00)
   call assert_equal(1048576, 0x10'00'00)
   call assert_equal(1000000, 1'000'000)
+  call assert_equal("1234", execute("echo 1'234")->trim())
+  call assert_equal('1  234', execute("echo 1''234")->trim())
+  call assert_fails("echo 1'''234", 'E115:')
 endfunc
 
 scriptversion 1