0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

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)
This commit is contained in:
zeertzjq
2023-05-04 18:58:22 +01:00
committed by Bram Moolenaar
parent 88bb3e0a48
commit 53f5e51628
4 changed files with 25 additions and 33 deletions

View File

@@ -2254,6 +2254,7 @@ typedef enum {
ASSERT_NOTEQUAL,
ASSERT_MATCH,
ASSERT_NOTMATCH,
ASSERT_FAILS,
ASSERT_OTHER
} assert_type_T;