From 8d671751b3fea2b71be596984e39ee7914ed9e4f Mon Sep 17 00:00:00 2001 From: claudemiro Date: Tue, 27 Jan 2015 11:46:28 -0300 Subject: [PATCH] Fixed an warning that go vet found. --- app_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app_test.go b/app_test.go index 3357fe3..6e2868f 100644 --- a/app_test.go +++ b/app_test.go @@ -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) {