diff --git a/runnable-sftp_test.go b/runnable-sftp_test.go index 5cad56d11278c29f75be4d6fe7f3acc4f01fad63..277243459e51ac985758199d79a2190b09a95c08 100644 --- a/runnable-sftp_test.go +++ b/runnable-sftp_test.go @@ -122,7 +122,7 @@ func TestSFTPCRunnerLocalToRemote(t *testing.T) { done := make(chan bool) go func() { - err = startSFTPTestDockerImageAndContainer(t, "portAsString, "", ctx) + err = startSFTPTestDockerImageAndContainer(t, portAsString, "", ctx) if err != nil { t.Errorf("Unexpected error: %v", err) cancel() @@ -227,7 +227,7 @@ func TestSFTPCRunnerRemoteToLocal(t *testing.T) { done := make(chan bool) go func() { - err = startSFTPTestDockerImageAndContainer(t, portAsString, tempSrcDir, ctx) + err = startSFTPTestDockerImageAndContainer(t, portAsString, tempSrcDir, ctx) if err != nil { t.Errorf("Unexpected error: %v", err) cancel()