Documentation ¶ Overview ¶ Package assert provides assert functions for testing. Index ¶ func Equal[T any](t *testing.T, want, got T, options ...cmp.Option) bool func IsDir(t *testing.T, name string) func IsNotExist(t *testing.T, name string) func IsRegularFile(t *testing.T, name string) func ReadFile(t *testing.T, name, wantContents string) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Equal ¶ func Equal[T any](t *testing.T, want, got T, options ...cmp.Option) bool func IsDir ¶ func IsDir(t *testing.T, name string) func IsNotExist ¶ func IsNotExist(t *testing.T, name string) func IsRegularFile ¶ func IsRegularFile(t *testing.T, name string) func ReadFile ¶ func ReadFile(t *testing.T, name, wantContents string) Types ¶ This section is empty. Source Files ¶ View all Source files assert.go Click to show internal directories. Click to hide internal directories.