fix: remove if for windows

Carlos Alexandro Becker created

Change summary

testscript/script_test.go | 7 -------
1 file changed, 7 deletions(-)

Detailed changes

testscript/script_test.go 🔗

@@ -6,9 +6,7 @@ import (
 	"fmt"
 	"net"
 	"os"
-	"os/exec"
 	"path/filepath"
-	"runtime"
 	"strings"
 	"sync"
 	"testing"
@@ -74,11 +72,6 @@ func TestScript(t *testing.T) {
 						"--",
 					}, args...)...,
 				)
-				if runtime.GOOS == "windows" {
-					cmd := exec.Command("ssh", args...)
-					out, err := cmd.CombinedOutput()
-					ts.Logf("RUNNING %v: output: %s error: %v", cmd.Args, string(out), err)
-				}
 				check(ts, ts.Exec("ssh", args...), neg)
 			},
 			"git": func(ts *testscript.TestScript, neg bool, args []string) {