README ¶ assert This package provides a simple assert extension by using reflect kungfu. Table of Contents Installation From Source Usage Installation From Source go get -u github.com/andygeiss/assert Usage func Test_Given_Nothing_When_Calling_Foo_Then_Return_42_And_No_Error(t *testing.T) { res, err := foo() assert.That(t, err, nil) assert.That(t, res, 42) } Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func That(name string, t *testing.T, got, expected interface{}) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func That ¶ func That(name string, t *testing.T, got, expected interface{}) That ... Types ¶ This section is empty. Source Files ¶ View all Source files assert.go Click to show internal directories. Click to hide internal directories.