1
0
forked from aniani/vim

patch 9.0.1557: test failures for unreachable code

Problem:    Test failures for unreachable code.
Solution:   Add a test override to ignore unreachable code.
This commit is contained in:
Bram Moolenaar
2023-05-14 21:38:12 +01:00
parent cf2610c82b
commit 9d383f30bb
7 changed files with 31 additions and 9 deletions

View File

@@ -1039,6 +1039,8 @@ f_test_override(typval_T *argvars, typval_T *rettv UNUSED)
no_wait_return = val;
else if (STRCMP(name, (char_u *)"ui_delay") == 0)
ui_delay_for_testing = val;
else if (STRCMP(name, (char_u *)"unreachable") == 0)
ignore_unreachable_code_for_testing = val;
else if (STRCMP(name, (char_u *)"term_props") == 0)
reset_term_props_on_termresponse = val;
else if (STRCMP(name, (char_u *)"vterm_title") == 0)