mirror of
https://github.com/docker/docs.git
synced 2026-04-03 09:49:05 +07:00
avoid regression in events test
Docker-DCO-1.1-Signed-off-by: Samuel Reis <srijs@airpost.net> (github: srijs)
This commit is contained in:
@@ -65,7 +65,7 @@ func TestCLILimitEvents(t *testing.T) {
|
||||
out, _, _ := runCommandWithOutput(eventsCmd)
|
||||
events := strings.Split(out, "\n")
|
||||
n_events := len(events) - 1
|
||||
if n_events > 64 {
|
||||
if n_events != 64 {
|
||||
t.Fatalf("events should be limited to 64, but received %d", n_events)
|
||||
}
|
||||
logDone("events - limited to 64 entries")
|
||||
|
||||
Reference in New Issue
Block a user