Skip to content

Commit

Permalink
use assert
Browse files Browse the repository at this point in the history
  • Loading branch information
bwhaley committed Dec 19, 2024
1 parent e698331 commit dd94dad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/alternat_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func TestAlternat(t *testing.T) {
waitTime = 10 * time.Second
retry.DoWithRetry(t, fmt.Sprintf("SSH to NAT instance at IP %s", ip), maxRetries, waitTime, func() (string, error) {
actualText, err := ssh.CheckSshCommandE(t, natInstance, command)
require.NoError(t, err)
assert.NoError(t, err)
if actualText != expectedText {
return "", fmt.Errorf("Expected SSH command to return '%s' but got '%s'", expectedText, actualText)
}
Expand Down

0 comments on commit dd94dad

Please sign in to comment.