From 9610f94510220c783328e1857af87a6ae7bc20b4 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 30 Jun 2022 22:28:08 +0100 Subject: [PATCH] patch 9.0.0014: missing part of the test override change Problem: Missing part of the test override change. Solution: Add the missing part. --- src/testing.c | 3 +++ src/version.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/src/testing.c b/src/testing.c index c49df4b494..66a3281d8f 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; diff --git a/src/version.c b/src/version.c index 17a25cf015..38b873bcb7 100644 --- a/src/version.c +++ b/src/version.c @@ -735,6 +735,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 14, /**/ 13, /**/