From 7153f2073eafc0633c1894026bd7cadf053151ed Mon Sep 17 00:00:00 2001 From: Levente Batuska Date: Tue, 15 Oct 2024 13:06:37 +0200 Subject: [PATCH] fix(testing)!: fix AssertFalse was logically inverted --- testing/testing.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/testing.go b/testing/testing.go index 196db75..2662f4c 100644 --- a/testing/testing.go +++ b/testing/testing.go @@ -31,7 +31,7 @@ func AssertTrue(t *testing.T, expected bool) { func AssertFalse(t *testing.T, expected bool) { t.Helper() - if expected { + if !expected { t.Logf("✅ [%T](%+v) != [%T](%+v)", expected, expected, false, false) return }