Documentation ¶ Overview ¶ Package assert provides lightweight test assertion helpers. Index ¶ func That[T any](tb testing.TB, desc string, got, want T) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func That ¶ func That[T any](tb testing.TB, desc string, got, want T) That marks the test as failed when got and want are not deeply equal. The receiver is named `tb` per the Go thelper convention for testing.TB — unlike `*testing.T`, which conventionally uses `t`. Types ¶ This section is empty. Source Files ¶ View all Source files assert.go Click to show internal directories. Click to hide internal directories.