mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2026-05-10 22:38:10 +00:00
fix: improve logging in routines
This commit is contained in:
@@ -162,7 +162,7 @@ func TestLogger(t *testing.T) {
|
||||
l.AuditLoginFailure("test", "test", "test", "test")
|
||||
|
||||
assert.NotEmpty(t, buf.String())
|
||||
assert.Equal(t, 119, buf.Len()) // it's the length of the test log entry
|
||||
assert.Equal(t, 81, buf.Len()) // it's the length of the test log entry
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user