Skip to content

Commit

Permalink
actually trim
Browse files Browse the repository at this point in the history
  • Loading branch information
sharifelgamal committed May 27, 2020
1 parent e2ec890 commit 12c1d7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/functional_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -847,7 +847,7 @@ func validateSSHCmd(ctx context.Context, t *testing.T, profile string) {
t.Errorf("failed to run an ssh command. args %q : %v", rr.Command(), err)
}
// trailing whitespace differs between native and external SSH clients, so let's trim it and call it a day
if rr.Stdout.String() != want {
if strings.TrimSpace(rr.Stdout.String()) != want {
t.Errorf("expected minikube ssh command output to be -%q- but got *%q*. args %q", want, rr.Stdout.String(), rr.Command())
}

Expand Down

0 comments on commit 12c1d7e

Please sign in to comment.