=== RUN Test
START: schedule_test.go:504: timeutilSuite.TestScheduleFoo
schedule_test.go:516:
c.Check(f1, Equals, f2)
... obtained timeutil_test.Foo = timeutil_test.Foo{A:2, B:"foobar", C:time.Time{wall:0xbe7d1efa1e1c30b5, ext:830969, loc:(*time.Location)(0x6ed580)}}
... expected timeutil_test.Foo = timeutil_test.Foo{A:2, B:"foobar 1234", C:time.Time{wall:0xbe7d1efa1e1c30b5, ext:830969, loc:(*time.Location)(0x6ed580)}}
... Values are different, diff:
--- Expected
+++ Actual
@@ -2,3 +2,3 @@
A: (int) 2,
- B: (string) (len=11) "foobar 1234",
+ B: (string) (len=6) "foobar",
C: (time.Time) 2017-11-21 11:48:08.505163957 +0100 CET m=+0.000830969
schedule_test.go:517:
c.Check(&f1, Equals, &f2)
... obtained *timeutil_test.Foo = &timeutil_test.Foo{A:2, B:"foobar", C:time.Time{wall:0xbe7d1efa1e1c30b5, ext:830969, loc:(*time.Location)(0x6ed580)}}
... expected *timeutil_test.Foo = &timeutil_test.Foo{A:2, B:"foobar 1234", C:time.Time{wall:0xbe7d1efa1e1c30b5, ext:830969, loc:(*time.Location)(0x6ed580)}}
... Values are different, diff:
--- Expected
+++ Actual
@@ -1,4 +1,4 @@
-(*timeutil_test.Foo)(0xc42005e7b0)({
+(*timeutil_test.Foo)(0xc42005e780)({
A: (int) 2,
- B: (string) (len=11) "foobar 1234",
+ B: (string) (len=6) "foobar",
C: (time.Time) 2017-11-21 11:48:08.505163957 +0100 CET m=+0.000830969
FAIL: schedule_test.go:504: timeutilSuite.TestScheduleFoo
--- FAIL: Test (0.01s)
FAIL
exit status 1
FAIL github.com/snapcore/snapd/timeutil 0.007s