diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2026-05-12 15:35:06 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2026-05-12 15:37:29 -0400 |
| commit | 9010ebe8a581fb9db7bc6e97d40ff062fb18495f (patch) | |
| tree | 4301a455762a59d4951507c8a8781e99c6f91c6d /lulu_test.go | |
| parent | 329257be8d9fb05d3dcea49823acea0f878ed52c (diff) | |
| download | lulu-9010ebe8a581fb9db7bc6e97d40ff062fb18495f.zip | |
unmarshal GET /print-jobs response
Diffstat (limited to 'lulu_test.go')
| -rw-r--r-- | lulu_test.go | 8 |
1 files changed, 8 insertions, 0 deletions
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 +} |