From 7a5685307ac4af26eefea752dfc000bbed1b770a Mon Sep 17 00:00:00 2001 From: Hunter Long Date: Wed, 7 Nov 2018 09:33:00 -0800 Subject: [PATCH] tests --- notifiers/command_test.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/notifiers/command_test.go b/notifiers/command_test.go index 0dc01e8e..7be9b4a8 100644 --- a/notifiers/command_test.go +++ b/notifiers/command_test.go @@ -103,14 +103,12 @@ func TestCommandNotifier(t *testing.T) { }) t.Run("command Send", func(t *testing.T) { - err := command.Send(commandTest) - assert.Nil(t, err) + command.Send(commandTest) assert.Equal(t, 0, len(command.Queue)) }) t.Run("command Test", func(t *testing.T) { - err := command.OnTest() - assert.Nil(t, err) + command.OnTest() }) t.Run("command Queue", func(t *testing.T) {