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