]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1438: tests: Test_breakindent_list_split() fails v9.1.1438
authorAliaksei Budavei <0x000c70@gmail.com>
Sun, 8 Jun 2025 13:52:42 +0000 (15:52 +0200)
committerChristian Brabandt <cb@256bit.org>
Sun, 8 Jun 2025 13:52:42 +0000 (15:52 +0200)
commitc4eb1cb17b869f7108ebfe42204924bed0436ad1
tree1ab2b3b59d2a655fb034d55dfa2c50babe82dd66
parent0174d8f3863067269f00c1e1be83b699372ca21e
patch 9.1.1438: tests: Test_breakindent_list_split() fails

Problem:  tests: Test_breakindent_list_split() fails
          (Phạm Bình An)
Solution: Always reset "&columns" and "&lines" for GUI builds
          (Aliaksei Budavei)

Ensure that "&columns" and "&lines" are always set to their
default values before calling "SetUp()", if any, for EACH
test run by a GUI build to avoid yet-to-be-run tests from
inheriting possibly changed values (after window resizing)
and leading to broken assumptions about available estate and
occasional test failures.

fixes: #17453
closes: #17447

Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/testdir/runtest.vim
src/testdir/test_highlight.vim
src/version.c