diff --git a/internal/cli/e2e_test.go b/internal/cli/e2e_test.go index e5ead69..789bfcc 100644 --- a/internal/cli/e2e_test.go +++ b/internal/cli/e2e_test.go @@ -37,9 +37,6 @@ func TestE2E_BuildUpExec_Image(t *testing.T) { t.Fatal("no containerId in up output") } - cmd := exec.Command(os.Args[0], "-test.run=^$") - _ = cmd - execCmd := exec.Command("docker", "exec", containerID, "echo", "e2e-test-ok") execOut, err := execCmd.CombinedOutput() if err != nil { diff --git a/internal/cli/exec.go b/internal/cli/exec.go index 24b5535..3e4d1ba 100644 --- a/internal/cli/exec.go +++ b/internal/cli/exec.go @@ -3,7 +3,6 @@ package cli import ( "cmp" "context" - "encoding/json" "errors" "fmt" "io" @@ -437,6 +436,3 @@ func splitExecArgs(args []string) (flags []string, cmd []string) { } return flags, nil } - -var _ = json.Marshal -var _ = strings.Join