Skip to content

Commit

Permalink
Fix error logging in kudo-cli test (#1318)
Browse files Browse the repository at this point in the history
  • Loading branch information
harryge00 committed Feb 3, 2020
1 parent 4420478 commit ace6186
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kudoctl/cmd/update_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func TestUpdate(t *testing.T) {
t.Errorf("%s: expected error '%s' but got '%v'", tt.name, tt.errMessageContains, err)
}
} else if tt.errMessageContains != "" {
t.Errorf("%s: expected no error but got %v", tt.name, err)
t.Errorf("%s: expected error '%s' but got nil", tt.name, tt.errMessageContains)
} else {
// the upgrade should have passed without error
instance, err := c.GetInstance(testInstance.Name, installNamespace)
Expand Down

0 comments on commit ace6186

Please sign in to comment.