gondole_test.go
changeset 7 0fbbac6d8e8c
child 14 db6bddd1e09d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gondole_test.go	Wed Apr 05 15:11:22 2017 +0200
@@ -0,0 +1,13 @@
+package gondole
+
+import (
+    "reflect"
+    "testing"
+    "github.com/stretchr/testify/assert"
+)
+
+func TestNewApp(t *testing.T) {
+    g, err := NewApp("foo", "bar")
+    assert.NoError(t, err, "no error")
+    assert.Equal(t, reflect.TypeOf(&Gondole{}), reflect.TypeOf(g), "should be Gondole")
+}