Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

Refine the caution #148

Merged
merged 1 commit into from
Feb 13, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -24,10 +24,16 @@ The generics (type parameters) make the usage type-safe.

The library is [extensible](#extensibility) by design.

> In general, [avoid using assertion libraries](https://go.dev/wiki/TestComments#assert-libraries).
> Use this library if you still have a preference to use one.
> Consider using [`github.com/google/go-cmp`](https://github.com/google/go-cmp)
> and writing custom helpers instead.
> [!CAUTION]
> [Avoid using assertion libraries](https://go.dev/wiki/TestComments#assert-libraries).
> Instead, use [`go-cmp`](https://github.com/google/go-cmp)
> and write custom test helpers.
> Using the popular [`testify`](https://github.com/stretchr/testify)
> may be also an acceptable choice,
> especially together with [`testifylint`](https://github.com/Antonboom/testifylint)
> to avoid common mistakes.
> Use this library if you still want to.
> Consider yourself warned.

### Quick start