]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.1507: assert message is confusing with boolean result v9.0.1507
authorzeertzjq <zeertzjq@outlook.com>
Thu, 4 May 2023 17:58:22 +0000 (18:58 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 4 May 2023 17:58:22 +0000 (18:58 +0100)
commit53f5e51628b56ef9171671cd6e9970374036a084
tree4b5887de0f113c5428cac768fa99660afa0d9898
parent88bb3e0a48f160134bdea98cd2b8bd3af86f9d6f
patch 9.0.1507: assert message is confusing with boolean result

Problem:    Assert message is confusing with boolean result.  assert_inrange()
            replaces message instead of adding it.
Solution:   Don't put quotes around expected boolean value.  Append message
            for assert_inrange(). (closes #12342, closes #12341)
src/testdir/test_assert.vim
src/testing.c
src/version.c
src/vim.h