Mercurial > vim
diff src/testing.c @ 27257:68c33419fdc6 v8.2.4157
patch 8.2.4157: terminal test fails because Windows sets the title
Commit: https://github.com/vim/vim/commit/ae1bd87fe84bfb31379bc5da351bca56a3d3b571
Author: ichizok <gclient.gaap@gmail.com>
Date: Thu Jan 20 14:57:29 2022 +0000
patch 8.2.4157: terminal test fails because Windows sets the title
Problem: Terminal test fails because Windows sets the title.
Solution: Add the "vterm_title" testing override and use it in the test.
(Ozaki Kiichi, closes #9556)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 20 Jan 2022 16:00:07 +0100 |
parents | 5b267700e6ab |
children | 722db0819111 |
line wrap: on
line diff
--- a/src/testing.c +++ b/src/testing.c @@ -1053,6 +1053,8 @@ f_test_override(typval_T *argvars, typva ui_delay_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) + disable_vterm_title_for_testing = val; else if (STRCMP(name, (char_u *)"uptime") == 0) override_sysinfo_uptime = val; else if (STRCMP(name, (char_u *)"autoload") == 0)