Skip to content

Commit 97529bf

Browse files
author
Ian Campbell
committed
rfc3164: add location to test's expectation.
This field was added in 72655c1c2bb3 ("Add support for local timezones in RFC3164 parsing") but this was not reflected in the test suite. Signed-off-by: Ian Campbell <[email protected]>
1 parent ff71fe7 commit 97529bf

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

rfc3164/rfc3164_test.go

+4-3
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@ func (s *Rfc3164TestSuite) TestParser_Valid(c *C) {
2727

2828
p := NewParser(buff)
2929
expectedP := &Parser{
30-
buff: buff,
31-
cursor: 0,
32-
l: len(buff),
30+
buff: buff,
31+
cursor: 0,
32+
l: len(buff),
33+
location: time.UTC,
3334
}
3435

3536
c.Assert(p, DeepEquals, expectedP)

0 commit comments

Comments
 (0)