changeset 29342:ef072bb8ed5a v9.0.0014

patch 9.0.0014: missing part of the test override change Commit: https://github.com/vim/vim/commit/9610f94510220c783328e1857af87a6ae7bc20b4 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jun 30 22:28:08 2022 +0100 patch 9.0.0014: missing part of the test override change Problem: Missing part of the test override change. Solution: Add the missing part.
author Bram Moolenaar <Bram@vim.org>
date Thu, 30 Jun 2022 23:30:02 +0200
parents af74b9b4d943
children a56121c09252
files src/testing.c src/version.c
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/testing.c
+++ b/src/testing.c
@@ -1058,6 +1058,8 @@ f_test_override(typval_T *argvars, typva
 	    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, typva
 	    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;
--- a/src/version.c
+++ b/src/version.c
@@ -736,6 +736,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    14,
+/**/
     13,
 /**/
     12,