From a5ad712070b32256101dfc9ae0035f98345c7d8f Mon Sep 17 00:00:00 2001 From: Vincent Composieux Date: Tue, 10 Jan 2017 21:27:28 +0100 Subject: [PATCH] Fixed .travis.yml file --- .travis.yml | 2 -- README.md | 1 - slackbot_test.go | 4 ++-- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8b8b1ae..51824c3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,6 @@ language: go go: - - 1.1 - - 1.2 - 1.3 - 1.4 - 1.5 diff --git a/README.md b/README.md index 0306e30..99f69a5 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,6 @@ package main import ( "github.com/eko/slackbot" "fmt" - "os/exec" ) func main() { diff --git a/slackbot_test.go b/slackbot_test.go index f5b8ba2..6387bcb 100644 --- a/slackbot_test.go +++ b/slackbot_test.go @@ -23,8 +23,8 @@ func TestAddCommand(t *testing.T) { t.Error("Should have 0 commands by default") } - AddCommand("test-a", func(command Command, entry Entry) {}) - AddCommand("test-b", func(command Command, entry Entry) {}) + AddCommand("test-a", func(command Command, message Message) {}) + AddCommand("test-b", func(command Command, message Message) {}) if len(commands) != 2 { t.Error("Should have 2 commands added")