add comment

pull/8290/head
Sharif Elgamal 2020-05-27 16:54:03 -07:00
parent 96f34ea063
commit ee764c8df4
1 changed files with 1 additions and 0 deletions

View File

@ -821,6 +821,7 @@ func validateSSHCmd(ctx context.Context, t *testing.T, profile string) {
if err != nil {
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 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())
}