(t *testing.T)
| 131 | } |
| 132 | |
| 133 | func TestFormatTime_UTC(t *testing.T) { |
| 134 | input := time.Date(2025, 1, 1, 0, 0, 0, 0, time.UTC) |
| 135 | got := formatTime(input) |
| 136 | want := "2025-01-01 08:00" |
| 137 | if got != want { |
| 138 | t.Errorf("formatTime(UTC midnight) = %q, want %q (should be +8h)", got, want) |
| 139 | } |
| 140 | } |
nothing calls this directly
no test coverage detected