summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_expr.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-07-18 20:48:50 +0100
committerBram Moolenaar <Bram@vim.org>2022-07-18 20:48:50 +0100
commit5154a8880034b7bb94186d37bcecc6ee1a96f732 (patch)
tree43c4b2d0409f9c7720bcad38d21a7d877fe4ad70 /src/testdir/test_expr.vim
parentbd683e3a79d73e608fec0df7cee1109a27f2e70a (diff)
patch 9.0.0057: has('patch-xxx') returns truev9.0.0057
Problem: has('patch-xxx') returns true. Solution: Check for digit. (closes #10751)
Diffstat (limited to 'src/testdir/test_expr.vim')
-rw-r--r--src/testdir/test_expr.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/testdir/test_expr.vim b/src/testdir/test_expr.vim
index ffac6df806..f911cd933f 100644
--- 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()