Skip to content

Commit 9fa0570

Browse files
phanenibhagwan
authored andcommitted
ci: fix test
1 parent d20ae7f commit 9fa0570

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/win_spec.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,9 @@ T["win"]["actions"] = new_set()
140140

141141
T["win"]["actions"]["no error"] = function()
142142
for file in ipairs({ "README.md", "^tests-", ".lua$" }) do
143-
child.lua([[FzfLua.files { query = "README.md" }]])
143+
child.lua(
144+
([[FzfLua.files { query = "%s", winopts = { preview = { wrap = false } } }]]):format(file)
145+
)
144146
-- not work with `profile = "hide"`?
145147
child.wait_until(function()
146148
return child.lua_get([[_G._fzf_load_called]]) == true

0 commit comments

Comments
 (0)