Fixed incorrect logging

This commit is contained in:
Eduard Urbach 2023-07-05 13:37:11 +02:00
parent d365caf5a9
commit b73c6e6f90
Signed by: eduard
GPG key ID: 49226B848C78F6C8
2 changed files with 5 additions and 5 deletions

View file

@ -10,8 +10,8 @@ func Equal[T comparable](t testing.TB, a T, b T) {
if a == b {
return
}
t.Errorf(`Equal:
t.Errorf(`
file: %s
assert: Equal
value: %v
@ -25,7 +25,7 @@ func NotEqual[T comparable](t testing.TB, a T, b T) {
return
}
t.Errorf(`NotEqual:
t.Errorf(`
file: %s
assert: NotEqual
value: %v`, file(t), a)
@ -37,7 +37,7 @@ func DeepEqual[T comparable](t testing.TB, a T, b T) {
if reflect.DeepEqual(a, b) {
return
}
t.Errorf(`
file: %s
assert: DeepEqual