pull/94/head v0.79.4
Hunter Long 2018-11-07 09:33:00 -08:00
parent f89c3bc2a3
commit 7a5685307a
1 changed files with 2 additions and 4 deletions

View File

@ -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) {