You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<imgwidth="600"alt="F-assertion IDE highlighting"src="https://github.com/Antonboom/testifylint/assets/17127404/9bdab802-d6eb-477d-a411-6cba043d33a5">
409
409
410
410
#### Historical Reference
411
411
412
412
<details>
413
413
414
414
<summary>Expand...</summary>
415
415
416
+
<br>
416
417
Those who are new to `testify` may be discouraged by the duplicative API:
417
418
418
419
```go
@@ -466,11 +467,8 @@ Now **printf** only checked Golang standard library functions (unless configured
466
467
467
468
Despite this, f-functions have already been released, giving rise to ambiguous API.
468
469
469
-
But surely the maintainers had no choice to change the signatures in accordance with the implicit Go convention
470
-
471
-
> Printf-like functions must end with `f`
472
-
473
-
because it would break backwards compatibility:
470
+
But surely the maintainers had no choice to change the signatures in accordance with Go convention, because it would
471
+
break backwards compatibility:
474
472
475
473
```go
476
474
funcEqual(tTestingT, expected, actualany) bool
@@ -520,19 +518,17 @@ Try to execute them in the main goroutine and distribute the data necessary for
Also a bad solution would be to simply replace all `require` in goroutines with `assert`
523
-
(
524
-
like [here](https://github.com/gravitational/teleport/pull/22567/files#diff-9f5fd20913c5fe80c85263153fa9a0b28dbd1407e53da4ab5d09e13d2774c5dbR7377))
0 commit comments