Fix temp directory in a test case

This commit is contained in:
Junegunn Choi 2016-09-21 01:15:35 +09:00
parent 791076d366
commit a749e6bd16
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

@ -342,7 +342,7 @@ func TestDefaultCtrlNP(t *testing.T) {
check([]string{"--bind=ctrl-n:accept"}, curses.CtrlN, 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.CtrlP, actPreviousHistory)