diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-06-30 22:28:08 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-06-30 22:28:08 +0100 |
commit | 9610f94510220c783328e1857af87a6ae7bc20b4 (patch) | |
tree | 087161e8c3406821f968d97a07ab735e7d951cd3 /src/testing.c | |
parent | fa4873ccfc10e0f278dc46f39d00136fab059b19 (diff) | |
download | vim-git-9610f94510220c783328e1857af87a6ae7bc20b4.tar.gz |
patch 9.0.0014: missing part of the test override changev9.0.0014
Problem: Missing part of the test override change.
Solution: Add the missing part.
Diffstat (limited to 'src/testing.c')
-rw-r--r-- | src/testing.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/testing.c b/src/testing.c index c49df4b49..66a3281d8 100644 --- a/src/testing.c +++ b/src/testing.c @@ -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; |