diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-07-18 20:48:50 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-07-18 20:48:50 +0100 |
commit | 5154a8880034b7bb94186d37bcecc6ee1a96f732 (patch) | |
tree | 43c4b2d0409f9c7720bcad38d21a7d877fe4ad70 /src/testdir/test_expr.vim | |
parent | bd683e3a79d73e608fec0df7cee1109a27f2e70a (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.vim | 1 |
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() |