Fixed incorrect logging
This commit is contained in:
parent
13850a3acd
commit
6096ae9239
4
Equal.go
4
Equal.go
@ -11,7 +11,7 @@ func Equal[T comparable](t testing.TB, a T, b T) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
t.Errorf(`Equal:
|
t.Errorf(`
|
||||||
file: %s
|
file: %s
|
||||||
assert: Equal
|
assert: Equal
|
||||||
value: %v
|
value: %v
|
||||||
@ -25,7 +25,7 @@ func NotEqual[T comparable](t testing.TB, a T, b T) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
t.Errorf(`NotEqual:
|
t.Errorf(`
|
||||||
file: %s
|
file: %s
|
||||||
assert: NotEqual
|
assert: NotEqual
|
||||||
value: %v`, file(t), a)
|
value: %v`, file(t), a)
|
||||||
|
Loading…
Reference in New Issue
Block a user