mirror of
https://github.com/ddworken/hishtory.git
synced 2024-11-26 18:23:27 +01:00
Filter out pipefail to make tests pass on actions
This commit is contained in:
parent
21bc1373ec
commit
31672918a9
@ -631,7 +631,7 @@ hishtory disable`)
|
||||
// Test filtering out a search item that also looks like it could be a search for a flag
|
||||
entry = testutils.MakeFakeHistoryEntry("foo -echo")
|
||||
manuallySubmitHistoryEntry(t, userSecret, entry)
|
||||
out = hishtoryQuery(t, tester, `-echo -install`)
|
||||
out = hishtoryQuery(t, tester, `-echo -install -pipefail`)
|
||||
if strings.Contains(out, "echo") {
|
||||
t.Fatalf("hishtory query contains unexpected result, out=%#v", out)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user