Fix typo in controller_test (#10034)
Signed-off-by: z1cheng <imchench@gmail.com>
This commit is contained in:
parent
179aa898f4
commit
1503695b30
1 changed files with 3 additions and 3 deletions
|
@ -387,7 +387,7 @@ func TestCheckWarning(t *testing.T) {
|
|||
t.Errorf("no error should be returned, but %s was returned", err)
|
||||
}
|
||||
if len(warnings) != 1 {
|
||||
t.Errorf("expected 1 warning to occur but %d occured", len(warnings))
|
||||
t.Errorf("expected 1 warning to occur but %d occurred", len(warnings))
|
||||
} else {
|
||||
t.Logf("got warning %s correctly", warnings[0])
|
||||
}
|
||||
|
@ -424,7 +424,7 @@ func TestCheckWarning(t *testing.T) {
|
|||
t.Errorf("no error should be returned, but %s was returned", err)
|
||||
}
|
||||
if len(warnings) != 1 {
|
||||
t.Errorf("expected 1 warning to occur but %d occured", len(warnings))
|
||||
t.Errorf("expected 1 warning to occur but %d occurred", len(warnings))
|
||||
} else {
|
||||
t.Logf("got warnings %v correctly", warnings)
|
||||
}
|
||||
|
@ -441,7 +441,7 @@ func TestCheckWarning(t *testing.T) {
|
|||
t.Errorf("no error should be returned, but %s was returned", err)
|
||||
}
|
||||
if len(warnings) != 4 {
|
||||
t.Errorf("expected 4 warning to occur but %d occured", len(warnings))
|
||||
t.Errorf("expected 4 warning to occur but %d occurred", len(warnings))
|
||||
} else {
|
||||
t.Logf("got warnings %v correctly", warnings)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue