From 9010ebe8a581fb9db7bc6e97d40ff062fb18495f Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Tue, 12 May 2026 15:35:06 -0400 Subject: unmarshal GET /print-jobs response --- lulu_test.go | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lulu_test.go') diff --git a/lulu_test.go b/lulu_test.go index 648ede7..613cc4b 100644 --- a/lulu_test.go +++ b/lulu_test.go @@ -88,3 +88,11 @@ func poll(t *testing.T, f func() bool) { } } } + +func mustParseTime(layout, value string) time.Time { + t, err := time.Parse(layout, value) + if err != nil { + panic(err) + } + return t +} -- cgit v1.2.3