From acb7046f7acc86021302d54c1f3c16aaff37df97 Mon Sep 17 00:00:00 2001 From: deadprogram Date: Sat, 25 Feb 2017 13:55:41 +0100 Subject: [PATCH] test: complete test coverage for Eventer Signed-off-by: deadprogram --- eventer_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eventer_test.go b/eventer_test.go index 659003da..0aad76ed 100644 --- a/eventer_test.go +++ b/eventer_test.go @@ -3,6 +3,8 @@ package gobot import ( "testing" "time" + + "gobot.io/x/gobot/gobottest" ) func TestEventerAddEvent(t *testing.T) { @@ -12,6 +14,7 @@ func TestEventerAddEvent(t *testing.T) { if _, ok := e.Events()["test"]; !ok { t.Errorf("Could not add event to list of Event names") } + gobottest.Assert(t, e.Event("test"), "test") } func TestEventerDeleteEvent(t *testing.T) {