0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 9.0.0014: missing part of the test override change

Problem:    Missing part of the test override change.
Solution:   Add the missing part.
This commit is contained in:
Bram Moolenaar
2022-06-30 22:28:08 +01:00
parent fa4873ccfc
commit 9610f94510
2 changed files with 5 additions and 0 deletions

View File

@@ -1058,6 +1058,8 @@ f_test_override(typval_T *argvars, typval_T *rettv UNUSED)
disable_vterm_title_for_testing = val;
else if (STRCMP(name, (char_u *)"uptime") == 0)
override_sysinfo_uptime = val;
else if (STRCMP(name, (char_u *)"alloc_lines") == 0)
ml_get_alloc_lines = val;
else if (STRCMP(name, (char_u *)"autoload") == 0)
override_autoload = val;
else if (STRCMP(name, (char_u *)"ALL") == 0)
@@ -1070,6 +1072,7 @@ f_test_override(typval_T *argvars, typval_T *rettv UNUSED)
ui_delay_for_testing = 0;
reset_term_props_on_termresponse = FALSE;
override_sysinfo_uptime = -1;
// ml_get_alloc_lines is not reset by "ALL"
if (save_starting >= 0)
{
starting = save_starting;