fix(testing)!: fix AssertFalse was logically inverted

This commit is contained in:
2024-10-15 13:06:37 +02:00
parent dffea122de
commit 7153f2073e

View File

@@ -31,7 +31,7 @@ func AssertTrue(t *testing.T, expected bool) {
func AssertFalse(t *testing.T, expected bool) { func AssertFalse(t *testing.T, expected bool) {
t.Helper() t.Helper()
if expected { if !expected {
t.Logf("✅ [%T](%+v) != [%T](%+v)", expected, expected, false, false) t.Logf("✅ [%T](%+v) != [%T](%+v)", expected, expected, false, false)
return return
} }