Skip to content

Commit

Permalink
fix checkout output
Browse files Browse the repository at this point in the history
  • Loading branch information
spowelljr committed Oct 3, 2023
1 parent b0c4458 commit 8c80640
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/addons_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,7 @@ func validateEnablingAddonOnNonExistingCluster(ctx context.Context, t *testing.T
if err == nil {
t.Fatalf("enabling addon succeeded when it shouldn't have: %s", rr.Output())
}
if !strings.Contains(err.Error(), "To start a cluster, run") {
if !strings.Contains(rr.Output(), "To start a cluster, run") {
t.Fatalf("unexpected error was returned: %v", err)
}
}
Expand All @@ -938,7 +938,7 @@ func validateDisablingAddonOnNonExistingCluster(ctx context.Context, t *testing.
if err == nil {
t.Fatalf("disabling addon succeeded when it shouldn't have: %s", rr.Output())
}
if !strings.Contains(err.Error(), "To start a cluster, run") {
if !strings.Contains(rr.Output(), "To start a cluster, run") {
t.Fatalf("unexpected error was returned: %v", err)
}
}

0 comments on commit 8c80640

Please sign in to comment.