mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-26 14:56:30 +00:00
Fix temp directory in a test case
This commit is contained in:
parent
791076d366
commit
a749e6bd16
@ -342,7 +342,7 @@ func TestDefaultCtrlNP(t *testing.T) {
|
|||||||
check([]string{"--bind=ctrl-n:accept"}, curses.CtrlN, actAccept)
|
check([]string{"--bind=ctrl-n:accept"}, curses.CtrlN, actAccept)
|
||||||
check([]string{"--bind=ctrl-p:accept"}, curses.CtrlP, actAccept)
|
check([]string{"--bind=ctrl-p:accept"}, curses.CtrlP, actAccept)
|
||||||
|
|
||||||
hist := "--history=/tmp/foo"
|
hist := "--history=/tmp/fzf-history"
|
||||||
check([]string{hist}, curses.CtrlN, actNextHistory)
|
check([]string{hist}, curses.CtrlN, actNextHistory)
|
||||||
check([]string{hist}, curses.CtrlP, actPreviousHistory)
|
check([]string{hist}, curses.CtrlP, actPreviousHistory)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user