go-github-selfupdate/selfupdate/e2e_test.go

18 lines
292 B
Go
Raw Normal View History

2017-12-28 08:49:01 +00:00
package selfupdate
import (
"os/exec"
"testing"
)
2017-12-29 13:50:17 +00:00
func TestRunSelfUpdateExample(t *testing.T) {
if testing.Short() {
t.Skip("skipping test in short mode.")
2017-12-28 08:49:01 +00:00
}
2017-12-29 13:50:17 +00:00
if err := exec.Command("go", "build", "../cmd/selfupdate-example").Run(); err != nil {
t.Fatal(err)
}
2017-12-28 08:49:01 +00:00
t.Fatal("TODO")
}