Skip to content

Commit

Permalink
test: update tests from linter errors
Browse files Browse the repository at this point in the history
Signed-off-by: deadprogram <[email protected]>
  • Loading branch information
deadprogram committed Oct 16, 2016
1 parent f97a10d commit 79e787d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion master.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"os/signal"
)

// JSONGobot is a JSON representation of a Gobot Master.
// JSONMaster is a JSON representation of a Gobot Master.
type JSONMaster struct {
Robots []*JSONRobot `json:"robots"`
Commands []string `json:"commands"`
Expand Down
3 changes: 1 addition & 2 deletions utils_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package gobot

import (
"fmt"
"testing"
"time"

Expand Down Expand Up @@ -60,6 +59,6 @@ func TestRand(t *testing.T) {
a := Rand(1000)
b := Rand(1000)
if a == b {
t.Error(fmt.Sprintf("%v should not equal %v", a, b))
t.Errorf("%v should not equal %v", a, b)
}
}

0 comments on commit 79e787d

Please sign in to comment.