Skip to content

Commit

Permalink
Merge pull request openshift#881 from gcs278/NE-1184
Browse files Browse the repository at this point in the history
NE-1184: Test_desiredHttpErrorCodeConfigMap: Kill dead code and fix format
  • Loading branch information
openshift-merge-robot committed Mar 3, 2023
2 parents 6aa482c + 66defd0 commit a29464e
Showing 1 changed file with 1 addition and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,17 +145,7 @@ func TestDesiredHttpErrorCodeConfigMap(t *testing.T) {
}

if !reflect.DeepEqual(expected.Data, actual.Data) {
t.Errorf("expected #{expected} and actual #{actual} configmap don't match")
}

if expected == nil || actual == nil {
if expected != nil {
t.Errorf("%q: expected %v, got nil", tc.description, expected)
}
if actual != nil {
t.Errorf("%q: expected nil, got %v", tc.description, actual)
}
continue
t.Errorf("expected configmap and actual configmap don't match\nexpected:\n%v\nactual:\n%v", expected, actual)
}
}
}

0 comments on commit a29464e

Please sign in to comment.