Fixed an warning that go vet found.

This commit is contained in:
claudemiro
2015-01-27 11:46:28 -03:00
parent 018391ad66
commit 8d671751b3
+2 -2
View File
@@ -11,13 +11,13 @@ import (
var id = 0
func newApp() App {
func newApp() *App {
a := App{Name: "Test", AppID: strconv.Itoa(id), Key: "123", Secret: "123", OnlySSL: false, ApplicationDisabled: false, UserEvents: true}
a.Init()
id++
return a
return &a
}
func TestConnect(t *testing.T) {