carlos / platform Public

cli: update TestRenderScheduleList for Spec.String's short duration form

Fallout from the spec.go commit (3500766): renderScheduleTable renders
a declared schedule's WHEN column via Schedule.Spec().String(), so
`carlos schedule ls` already picked up the canonical short form
correctly — this test's expected output was the only thing still
pinned to the old "every 6h0m0s" stdlib format. go test ./... now
green across every package again.
Paul Campbell pushed by paul@keymail.dev e8fa127b83d00a65960069f726ab200c50b5ac4b parent 589362c
1 file changed, +1 −1
  • schedule_test.go +1 −1
diff --git a/schedule_test.go b/schedule_test.go
index 60b540e68..6bd3f99ca 100644
--- a/schedule_test.go
+++ b/schedule_test.go
@@ -267,7 +267,7 @@ func TestRenderScheduleList(t *testing.T) {
want := "schedules for bab/app (updated 2026-08-23T22:14:09Z)\n" +
" NAME WHEN PATH\n" +
" reminders cron 0 8 * * * /jobs/reminders\n" +
- " sync every 6h0m0s /jobs/sync\n" +
+ " sync every 6h /jobs/sync\n" +
"\n" +
"instances\n" +
" a.bab.oncarlos.com (box carlos-ie-1, reported 12s ago)\n" +