Started the testing framework.
This commit is contained in:
parent
8f3452baa0
commit
eb3a833dec
|
@ -0,0 +1,15 @@
|
||||||
|
// 11 december 2015
|
||||||
|
|
||||||
|
package ui
|
||||||
|
|
||||||
|
import "testing"
|
||||||
|
|
||||||
|
func TestIt(t *testing.T) {
|
||||||
|
err := Main(func() {
|
||||||
|
t.Log("we're here")
|
||||||
|
Quit()
|
||||||
|
})
|
||||||
|
if err != nil {
|
||||||
|
t.Fatal(err)
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue