mirror of
https://github.com/ddworken/hishtory.git
synced 2025-06-20 20:07:52 +02: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
|
// Test filtering out a search item that also looks like it could be a search for a flag
|
||||||
entry = testutils.MakeFakeHistoryEntry("foo -echo")
|
entry = testutils.MakeFakeHistoryEntry("foo -echo")
|
||||||
manuallySubmitHistoryEntry(t, userSecret, entry)
|
manuallySubmitHistoryEntry(t, userSecret, entry)
|
||||||
out = hishtoryQuery(t, tester, `-echo -install`)
|
out = hishtoryQuery(t, tester, `-echo -install -pipefail`)
|
||||||
if strings.Contains(out, "echo") {
|
if strings.Contains(out, "echo") {
|
||||||
t.Fatalf("hishtory query contains unexpected result, out=%#v", out)
|
t.Fatalf("hishtory query contains unexpected result, out=%#v", out)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user