mirror of
https://github.com/vim/vim.git
synced 2025-10-07 05:54:16 -04:00
patch 9.0.0057: has('patch-xxx') returns true
Problem: has('patch-xxx') returns true. Solution: Check for digit. (closes #10751)
This commit is contained in:
@@ -41,6 +41,7 @@ func Test_version()
|
||||
call assert_false(has('patch-7.4.'))
|
||||
call assert_false(has('patch-9.1.0'))
|
||||
call assert_false(has('patch-9.9.1'))
|
||||
call assert_false(has('patch-abc'))
|
||||
endfunc
|
||||
|
||||
func Test_op_ternary()
|
||||
|
Reference in New Issue
Block a user