commit | 5154a8880034b7bb94186d37bcecc6ee1a96f732 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon Jul 18 20:48:50 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Mon Jul 18 20:48:50 2022 +0100 |
tree | 43c4b2d0409f9c7720bcad38d21a7d877fe4ad70 | |
parent | bd683e3a79d73e608fec0df7cee1109a27f2e70a [diff] [blame] |
patch 9.0.0057: has('patch-xxx') returns true Problem: has('patch-xxx') returns true. Solution: Check for digit. (closes #10751)
diff --git a/src/testdir/test_expr.vim b/src/testdir/test_expr.vim index ffac6df..f911cd9 100644 --- a/src/testdir/test_expr.vim +++ b/src/testdir/test_expr.vim
@@ -41,6 +41,7 @@ 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()