mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-05 03:17:50 +08:00
Fix failed test in store.
This commit is contained in:
parent
90ab0ee6c2
commit
bf4264ea7f
|
@ -57,7 +57,7 @@ func TestCmd(t *testing.T) {
|
|||
f = tStore.FirstCmd
|
||||
fname = "tStore.FirstCmd"
|
||||
}
|
||||
seq, cmd, err := f(tt.seq, tt.prefix)
|
||||
seq, cmd, err := f(tt.seq, tt.prefix, true)
|
||||
if seq != tt.wantedSeq || cmd != tt.wantedCmd || err != tt.wantedErr {
|
||||
t.Errorf("%s(%v, %v) => (%v, %v, %v), want (%v, %v, %v)",
|
||||
fname, tt.seq, tt.prefix,
|
||||
|
|
Loading…
Reference in New Issue
Block a user