From b0e7b165b6fc03aa234a01537bcbe7ad6a00d4e8 Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Wed, 2 Oct 2019 15:26:32 +0200 Subject: [PATCH] apps/gophers: fix test build failure Signed-off-by: Elias Naur --- apps/gophers/main_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/gophers/main_test.go b/apps/gophers/main_test.go index 358e1406..1d22b0da 100644 --- a/apps/gophers/main_test.go +++ b/apps/gophers/main_test.go @@ -37,6 +37,6 @@ func (config) Now() time.Time { return time.Now() } -func (config) Px(v ui.Value) int { +func (config) Px(v unit.Value) int { return int(v.V + .5) }