Browse code

avoid regression in events test

Docker-DCO-1.1-Signed-off-by: Samuel Reis <srijs@airpost.net> (github: srijs)

Sam Rijs authored on 2014/07/09 08:35:08
Showing 1 changed files
... ...
@@ -65,7 +65,7 @@ func TestCLILimitEvents(t *testing.T) {
65 65
 	out, _, _ := runCommandWithOutput(eventsCmd)
66 66
 	events := strings.Split(out, "\n")
67 67
 	n_events := len(events) - 1
68
-	if n_events > 64 {
68
+	if n_events != 64 {
69 69
 		t.Fatalf("events should be limited to 64, but received %d", n_events)
70 70
 	}
71 71
 	logDone("events - limited to 64 entries")