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

This commit is contained in:
Junegunn Choi
2024-12-12 13:53:08 +09:00
parent da9179335c
commit db44cbdff0
+7 -7
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) }