Documentation ¶ Index ¶ func Equal(tb testing.TB, name string, want, got interface{}, opts ...cmp.Option) func EqualFixture(tb testing.TB, name, filename string, got []byte) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Equal ¶ func Equal(tb testing.TB, name string, want, got interface{}, opts ...cmp.Option) func EqualFixture ¶ func EqualFixture(tb testing.TB, name, filename string, got []byte) EqualFixture validates that the contents of the given file are the same as the given bytes. If the OVERWRITE environment variable is set to TRUE, the given bytes are written to the file first. Types ¶ This section is empty. Source Files ¶ View all Source files assert.go fixtures.go Click to show internal directories. Click to hide internal directories.