Ubuntu Pastebin

Paste from mborzecki at Tue, 21 Nov 2017 10:48:08 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
=== 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
Download as text