for now, panic here just in case
This commit is contained in:
parent
9129cfe885
commit
5a9b953d33
|
@ -26,6 +26,7 @@ func main() {
|
||||||
newr, err := repos.NewGoPath("/home/jcarr/go/src", "go.wit.com/apps/wit-package")
|
newr, err := repos.NewGoPath("/home/jcarr/go/src", "go.wit.com/apps/wit-package")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Info("init failed", err)
|
log.Info("init failed", err)
|
||||||
|
panic("crapnuts")
|
||||||
} else {
|
} else {
|
||||||
log.Info("init worked for", newr.GoPath)
|
log.Info("init worked for", newr.GoPath)
|
||||||
}
|
}
|
||||||
|
@ -35,6 +36,7 @@ func main() {
|
||||||
log.Info("init failed correctly:", err)
|
log.Info("init failed correctly:", err)
|
||||||
} else {
|
} else {
|
||||||
log.Info("init should have failed for", newr.GoPath)
|
log.Info("init should have failed for", newr.GoPath)
|
||||||
|
panic("crapnuts")
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue