From 45c4b26eeebb00344845c04ba09be1dad3f1c859 Mon Sep 17 00:00:00 2001 From: Scott Lee Davis Date: Sun, 12 May 2019 22:42:55 -0700 Subject: [PATCH] missed formatting --- server/command_test.go | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/server/command_test.go b/server/command_test.go index a9b8780..9e9d578 100644 --- a/server/command_test.go +++ b/server/command_test.go @@ -1,8 +1,8 @@ package main import ( - "testing" "fmt" + "testing" "github.com/mattermost/mattermost-server/model" "github.com/mattermost/mattermost-server/plugin/plugintest" @@ -45,7 +45,7 @@ func TestHandleCommand(t *testing.T) { UserId: "userID1", }) - assert.NotNil(t,r) + assert.NotNil(t, r) assert.Nil(t, err) }) @@ -74,7 +74,7 @@ func TestHandleCommand(t *testing.T) { UserId: "userID1", }) - assert.NotNil(t,r) + assert.NotNil(t, r) assert.Nil(t, err) }) @@ -142,7 +142,6 @@ func TestHandleCommand(t *testing.T) { //assert.Nil(t, err) }) - t.Run("/remind me foo in 2 seconds", func(t *testing.T) { //channel := &model.Channel{ @@ -257,7 +256,7 @@ func TestHandleCommand(t *testing.T) { UserId: "userID1", }) - assert.NotNil(t,r) + assert.NotNil(t, r) assert.Nil(t, err) }) @@ -286,7 +285,7 @@ func TestHandleCommand(t *testing.T) { UserId: "userID1", }) - assert.NotNil(t,r) + assert.NotNil(t, r) assert.Nil(t, err) }) -} \ No newline at end of file +}