Merge pull request #4261 from mitchellh/goversiontest
test with go 1.7 and 1.8beta
This commit is contained in:
commit
d6e6307245
|
@ -6,7 +6,8 @@ sudo: false
|
|||
language: go
|
||||
|
||||
go:
|
||||
- 1.6
|
||||
- 1.7.4
|
||||
- 1.8beta1
|
||||
|
||||
install:
|
||||
- make deps
|
||||
|
|
|
@ -133,7 +133,7 @@ func TestFuncIsotime(t *testing.T) {
|
|||
|
||||
currentTime := time.Now().UTC()
|
||||
if currentTime.Sub(val) > 2*time.Second {
|
||||
t.Fatalf("val: %d (current: %d)", val, currentTime)
|
||||
t.Fatalf("val: %v (current: %v)", val, currentTime)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue