(t *testing.T)
| 159 | } |
| 160 | |
| 161 | func TestCurrentDate(t *testing.T) { |
| 162 | date := usage.CurrentDate() |
| 163 | if len(date) != 10 { // "2026-03-29" format |
| 164 | t.Errorf("CurrentDate() = %q, expected YYYY-MM-DD format", date) |
| 165 | } |
| 166 | if date[4] != '-' || date[7] != '-' { |
| 167 | t.Errorf("CurrentDate() = %q, missing dash separators", date) |
| 168 | } |
| 169 | } |
nothing calls this directly
no test coverage detected