m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-17 07:43:39 -05:00

Change test case expectation (hard-coded minimum width removed)

This commit is contained in:
Junegunn Choi
2024-12-08 15:54:28 +09:00
parent da9179335c
commit db44cbdff0

View File

@@ -2814,13 +2814,13 @@ class TestGoFZF < TestBase
tmux.send_keys "seq 3 | fzf --height ~100% --border=vertical --preview 'seq {}' --preview-window left,5,border-right --padding 1 --exit-0 --header $'hello\\nworld' --header-lines=2", :Enter tmux.send_keys "seq 3 | fzf --height ~100% --border=vertical --preview 'seq {}' --preview-window left,5,border-right --padding 1 --exit-0 --header $'hello\\nworld' --header-lines=2", :Enter
expected = <<~OUTPUT expected = <<~OUTPUT
1 > 3 1 > 3
2 2 2 2
3 1 3 1
hello hello
world world
1/1 1/1
> >
OUTPUT OUTPUT
tmux.until { assert_block(expected, _1) } tmux.until { assert_block(expected, _1) }