Skip to content

Commit 078ba1b

Browse files
committed
fix test
1 parent 5d3e413 commit 078ba1b

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/FUNDING.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

encode_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ func TestMarshal(t *testing.T) {
1919
tok.Params.Add("a", "b")
2020
d.Add("tok", tok)
2121

22-
date := NewItem(time.Date(1988, 21, 01, 0, 0, 0, 0, time.Local))
22+
date := NewItem(time.Date(1988, 21, 01, 0, 0, 0, 0, time.UTC))
2323
d.Add("d", date)
2424

25-
if res, _ := Marshal(d); res != `i=22.1;foo;bar=baz, tok=foo;a="b", d=@620604000` {
25+
if res, _ := Marshal(d); res != `i=22.1;foo;bar=baz, tok=foo;a="b", d=@620611200` {
2626
t.Errorf("marshal: bad result: %q", res)
2727
}
2828
}

0 commit comments

Comments
 (0)