]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.2.0429: tests: flaky screendump Test_smoothscroll_incsearch() v9.2.0429
authorYasuhiro Matsumoto <mattn.jp@gmail.com>
Sat, 2 May 2026 13:29:01 +0000 (13:29 +0000)
committerChristian Brabandt <cb@256bit.org>
Sat, 2 May 2026 13:29:01 +0000 (13:29 +0000)
commite25933014c1c7cc4fb40a6ed429b80fdb37ba28e
treed5cb3380ce480e38073d206583f271b40ed64ec8
parente4413c5df76d353251be53edfbd7718ff18dc36b
patch 9.2.0429: tests: flaky screendump Test_smoothscroll_incsearch()

Problem:  tests: flaky screendump Test_smoothscroll_incsearch()
Solution: Replace screendump test by WaitForAssert()
          (Yasuhiro Matsumoto)

VerifyScreenDump fails consistently on the macos-15-intel CI runner.
Replace the dump comparisons with assertions that verify the actual
invariant under test: that the visible buffer view stays unchanged
across the four incremental-search keystrokes (i.e. skipcol is not
reset). Drop the now-unused dump files.

closes: #20118

Signed-off-by: Yasuhiro Matsumoto <mattn.jp@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/testdir/dumps/Test_smooth_incsearch_1.dump [deleted file]
src/testdir/dumps/Test_smooth_incsearch_2.dump [deleted file]
src/testdir/dumps/Test_smooth_incsearch_3.dump [deleted file]
src/testdir/dumps/Test_smooth_incsearch_4.dump [deleted file]
src/testdir/test_scroll_opt.vim
src/version.c