mirror of https://github.com/vernonkeenan/lib
GetFieldsAndValues, SqlDateToString, ParseDateTime, and IsZero had zero test coverage even though they're pure, hermetic logic with several non-obvious behaviors (e.g. strings always count as "non-zero", arrays are compared by length only, and the dateTimeFormat's "-0800" suffix is a Go reference-time artifact that behaves as a literal string rather than a real timezone offset). Locking these in with tests now, ahead of any future refactor of this file, so behavior changes are caught instead of silently shipped. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| logger | ||
| address.go | ||
| auth.go | ||
| config.go | ||
| force.go | ||
| mysql.go | ||
| prometheus.go | ||
| root.go | ||
| service-helpers.go | ||
| service-helpers_test.go | ||
| tenantuser.go | ||
| user-helpers.go | ||
| user.go | ||
| userrole.go | ||