mirror of
https://github.com/vim/vim.git
synced 2025-10-18 07:54:29 -04:00
patch 8.1.1526: no numerical value for the patchlevel
Problem: No numerical value for the patchlevel. Solution: Add v:versionlong.
This commit is contained in:
@@ -171,6 +171,9 @@ func Test_vvar_scriptversion2()
|
||||
echo version
|
||||
call assert_fails('let version = 1', 'E46:')
|
||||
call assert_equal(v:version, version)
|
||||
|
||||
call assert_equal(v:version, v:versionlong / 10000)
|
||||
call assert_true(v:versionlong > 8011525)
|
||||
endfunc
|
||||
|
||||
func Test_scriptversion()
|
||||
|
Reference in New Issue
Block a user