diff src/testdir/test_expr.vim @ 29430:90565e49a13e v9.0.0057

patch 9.0.0057: has('patch-xxx') returns true Commit: https://github.com/vim/vim/commit/5154a8880034b7bb94186d37bcecc6ee1a96f732 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jul 18 20:48:50 2022 +0100 patch 9.0.0057: has('patch-xxx') returns true Problem: has('patch-xxx') returns true. Solution: Check for digit. (closes https://github.com/vim/vim/issues/10751)
author Bram Moolenaar <Bram@vim.org>
date Mon, 18 Jul 2022 22:00:04 +0200
parents 8973f2f00872
children 80b4c435450a
line wrap: on
line diff
--- a/src/testdir/test_expr.vim
+++ b/src/testdir/test_expr.vim
@@ -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()