1
0
forked from aniani/vim

patch 8.2.2694: when 'matchpairs' is empty every character beeps

Problem:    When 'matchpairs' is empty every character beeps. (Marco Hinz)
Solution:   Bail out when no character in 'matchpairs' was found.
            (closes #8053)  Add assert_nobeep().
This commit is contained in:
Bram Moolenaar
2021-04-02 18:55:57 +02:00
parent dcf29ac87f
commit 5b8cabfef7
8 changed files with 42 additions and 5 deletions

View File

@@ -1,5 +1,6 @@
/* testing.c */
void f_assert_beeps(typval_T *argvars, typval_T *rettv);
void f_assert_nobeep(typval_T *argvars, typval_T *rettv);
void f_assert_equal(typval_T *argvars, typval_T *rettv);
void f_assert_equalfile(typval_T *argvars, typval_T *rettv);
void f_assert_notequal(typval_T *argvars, typval_T *rettv);