mirror of
https://github.com/MedzikUser/go-github-selfupdate.git
synced 2024-08-15 03:25:29 +00:00
17 lines
292 B
Go
17 lines
292 B
Go
package selfupdate
|
|
|
|
import (
|
|
"os/exec"
|
|
"testing"
|
|
)
|
|
|
|
func TestRunSelfUpdateExample(t *testing.T) {
|
|
if testing.Short() {
|
|
t.Skip("skipping test in short mode.")
|
|
}
|
|
|
|
if err := exec.Command("go", "build", "../cmd/selfupdate-example").Run(); err != nil {
|
|
t.Fatal(err)
|
|
}
|
|
t.Fatal("TODO")
|
|
}
|