mirror of
https://github.com/vim/vim.git
synced 2025-10-18 07:54:29 -04:00
patch 8.1.2043: not sufficient testing for quoted numbers
Problem: Not sufficient testing for quoted numbers. Solution: Add a few more test cases.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user