Fix travis fail

pull/19/head
miraclesu 2017-05-18 15:26:56 +08:00
parent f4c990cf44
commit 739ab4cec9
3 changed files with 8 additions and 4 deletions

View File

@ -1,6 +1,5 @@
language: go
go:
- 1.6.4
- 1.7.5
- 1.8.1
install:
@ -9,6 +8,11 @@ install:
- go get github.com/rogpeppe/fastuuid
- go get golang.org/x/net/context
- go get gopkg.in/mgo.v2
- go get github.com/fsnotify/fsnotify
- go get github.com/go-gomail/gomail
- go get go.uber.org/zap
- go get github.com/cockroachdb/cmux
- go get github.com/gorilla/mux
- go get github.com/smartystreets/goconvey/convey
before_script:
- go vet -x ./...

View File

@ -47,7 +47,7 @@
### Setup / installation
Building with the source
Building with the source, require go >= 1.7+
```
go get -u github.com/shunfei/cronsun

View File

@ -186,7 +186,7 @@ func TestParse(t *testing.T) {
t.Errorf("%s => unexpected error %v", c.expr, err)
}
if !reflect.DeepEqual(actual, c.expected) {
t.Errorf("%s => expected %b, got %b", c.expr, c.expected, actual)
t.Errorf("%s => expected %v, got %v", c.expr, c.expected, actual)
}
}
}
@ -224,7 +224,7 @@ func TestStandardSpecSchedule(t *testing.T) {
t.Errorf("%s => unexpected error %v", c.expr, err)
}
if !reflect.DeepEqual(actual, c.expected) {
t.Errorf("%s => expected %b, got %b", c.expr, c.expected, actual)
t.Errorf("%s => expected %v, got %v", c.expr, c.expected, actual)
}
}
}