From 10833184e1b4ee9dcdd83199f6868b36165aad8b Mon Sep 17 00:00:00 2001 From: Tom Fleet Date: Mon, 5 Aug 2024 09:04:23 +0100 Subject: [PATCH] Fix Ok example (#31) --- test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.go b/test.go index 35fb32c..aacc563 100644 --- a/test.go +++ b/test.go @@ -78,7 +78,7 @@ func NotEqualFunc[T any](t testing.TB, got, want T, equal func(a, b T) bool) { // Ok fails if err != nil. // // err := doSomething() -// test.Ok(t, err, "Doing something") +// test.Ok(t, err) func Ok(t testing.TB, err error) { t.Helper() if err != nil {