From dd94dada1a9aa0b8edd58af4617854d396fb854d Mon Sep 17 00:00:00 2001 From: Ben Whaley <503816+bwhaley@users.noreply.github.com> Date: Wed, 18 Dec 2024 16:29:59 -0800 Subject: [PATCH] use assert --- test/alternat_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/alternat_test.go b/test/alternat_test.go index 6d897ca..56f2c5e 100644 --- a/test/alternat_test.go +++ b/test/alternat_test.go @@ -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) }