mirror of
https://github.com/ddworken/hishtory.git
synced 2024-11-27 02:34:06 +01:00
whoops, inverted boolean condition so the test still failed
This commit is contained in:
parent
fd2a642374
commit
d1d78de0e4
@ -551,7 +551,7 @@ echo hello2
|
||||
echo hidden`)
|
||||
RunInteractiveBashCommands(t, " echo hidden")
|
||||
out := hishtoryQuery(t, "")
|
||||
if strings.Count(out, "\n") == 5 || strings.Count(out, "\n") == 6 {
|
||||
if strings.Count(out, "\n") != 5 && strings.Count(out, "\n") != 6 {
|
||||
t.Fatalf("hishtory query has the wrong number of lines=%d, out=%#v", strings.Count(out, "\n"), out)
|
||||
}
|
||||
if strings.Count(out, "echo hello") != 2 {
|
||||
|
Loading…
Reference in New Issue
Block a user