mirror of https://github.com/docker/cli.git
correct some nits in comments
Signed-off-by: allencloud <allen.sun@daocloud.io>
This commit is contained in:
parent
62e14c713b
commit
acb1fc424b
|
@ -38,7 +38,7 @@ func TestEventsErrorInOptions(t *testing.T) {
|
|||
}
|
||||
_, err := client.Events(context.Background(), e.options)
|
||||
if err == nil || !strings.Contains(err.Error(), e.expectedError) {
|
||||
t.Fatalf("expected a error %q, got %v", e.expectedError, err)
|
||||
t.Fatalf("expected an error %q, got %v", e.expectedError, err)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue