Fix golint errors

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
Bryan Frimin
2026-02-02 15:24:11 +01:00
parent b11ce54ccc
commit ece54f1616
38 changed files with 134 additions and 204 deletions

View File

@@ -153,7 +153,7 @@ func TestValidationErrors_Methods(t *testing.T) {
t.Run("First", func(t *testing.T) {
first := errors.First()
if first == nil {
t.Error("expected first error")
t.Fatal("expected first error")
}
if first.Field != "email" {
t.Errorf("expected first field to be 'email', got '%s'", first.Field)