Merge pull request #4261 from mitchellh/goversiontest

test with go 1.7 and 1.8beta
This commit is contained in:
Matthew Hooker 2016-12-06 16:50:54 -08:00 committed by GitHub
commit d6e6307245
2 changed files with 3 additions and 2 deletions

View File

@ -6,7 +6,8 @@ sudo: false
language: go
go:
- 1.6
- 1.7.4
- 1.8beta1
install:
- make deps

View File

@ -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)
}
}