diff --git a/host/host_test.go b/host/host_test.go index e6abb78e..c2113341 100644 --- a/host/host_test.go +++ b/host/host_test.go @@ -51,6 +51,9 @@ func TestBoot_time(t *testing.T) { t.Logf("first boot time: %d", v) v2, err := BootTime() + if err != nil { + t.Errorf("error %v", err) + } if v != v2 { t.Errorf("cached boot time is different") }