tests: fix don't try to test logger with char size

This commit is contained in:
Stavros
2026-05-09 14:00:58 +03:00
parent 3d9c81d7a0
commit 548d97fa62
+2 -2
View File
@@ -159,10 +159,10 @@ func TestLogger(t *testing.T) {
l.App.Info().Msg("test")
l.AuditLoginFailure("test", "test", "test", "test")
l.AuditLoginFailure("test_nop", "test_nop", "test_nop", "test_nop")
assert.NotEmpty(t, buf.String())
assert.Equal(t, 81, buf.Len()) // it's the length of the test log entry
assert.NotContains(t, "test_nop", buf.String())
},
},
}