2
0
mirror of https://github.com/araddon/dateparse.git synced 2026-02-03 10:28:10 +00:00

Improve golint happiness

This commit is contained in:
Aaron Raddon
2017-08-12 09:48:28 -07:00
parent a1537bb044
commit febb340f9d
2 changed files with 198 additions and 202 deletions

View File

@@ -128,7 +128,7 @@ func TestParseInLocation(t *testing.T) {
// UnixDate = "Mon Jan _2 15:04:05 MST 2006"
ts = MustParse("Mon Jan 2 15:04:05 MST 2006")
zone, offset = ts.Zone()
_, offset = ts.Zone()
assert.Equal(t, 0, offset, "Should have found offset = 0 %v", offset)
assert.Equal(t, "2006-01-02 15:04:05 +0000 UTC", fmt.Sprintf("%v", ts.In(time.UTC)))