Skip to content

Commit

Permalink
Fixed .travis.yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
eko committed Jan 11, 2017
1 parent 89d9210 commit a5ad712
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
@@ -1,8 +1,6 @@
language: go

go:
- 1.1
- 1.2
- 1.3
- 1.4
- 1.5
Expand Down
1 change: 0 additions & 1 deletion README.md
Expand Up @@ -38,7 +38,6 @@ package main
import (
"github.com/eko/slackbot"
"fmt"
"os/exec"
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions slackbot_test.go
Expand Up @@ -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")
Expand Down

0 comments on commit a5ad712

Please sign in to comment.