Commits

Miki Tebeka  committed 19559fd

fix test

  • Participants
  • Parent commits d6e7f71

Comments (0)

Files changed (1)

 	"bytes"
 	"fmt"
 	"io/ioutil"
-	"os"
 	"os/exec"
 	"strings"
 	"testing"
 		t.Fatalf("can't create go file")
 	}
 
-	if err := os.Setenv("GOPATH", "../.."); err != nil {
-		t.Fatalf("can't set GOPATH environment variable")
-	}
-
 	arg := time.Now().UTC().String()
 	cmd := exec.Command("go", "run", gofile, arg)
 	var stderr bytes.Buffer
 package main
 
 import (
-	"die"
+	"bitbucket.org/tebeka/die"
 	"flag"
 )