Documentation
¶
Overview ¶
Package assert contains functions for making assertions in unit tests
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Equal ¶
func Equal(t TestingT, actual, expected interface{})
Equal compare the actual value to the expected value and fails the test if they are not equal.
func EqualStringSlice ¶
EqualStringSlice compares two slices and fails the test if they do not contain the same items.
Types ¶
Click to show internal directories.
Click to hide internal directories.