summaryrefslogtreecommitdiff
path: root/zz_test.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-12-11 22:58:21 -0500
committerPietro Gagliardi <[email protected]>2015-12-11 22:58:21 -0500
commiteb3a833decbeffa79b9112570e091e231a50f7fd (patch)
tree2e584d4177c4d8db3e15c84c92bccf48ed9756e4 /zz_test.go
parent8f3452baa0b3c3651aea0ee5135c3af84a5d3e1e (diff)
Started the testing framework.
Diffstat (limited to 'zz_test.go')
-rw-r--r--zz_test.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/zz_test.go b/zz_test.go
new file mode 100644
index 0000000..f84e5b7
--- /dev/null
+++ b/zz_test.go
@@ -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)
+ }
+}