Skip to content

Commit

Permalink
Fix typo in controller_test (#10034)
Browse files Browse the repository at this point in the history
Signed-off-by: z1cheng <imchench@gmail.com>
  • Loading branch information
z1cheng committed Jun 3, 2023
1 parent 179aa89 commit 1503695
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/ingress/controller/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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])
}
Expand Down Expand Up @@ -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)
}
Expand All @@ -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)
}
Expand Down

0 comments on commit 1503695

Please sign in to comment.