Documentation ¶
Overview ¶
Package test contains utility functions used throughout the project in tests
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertBufferEquals ¶
AssertBufferEquals asserts two buffers are equal
func AssertDeepEquals ¶
AssertDeepEquals asserts two values are deeply equal or fails the test, if not
func AssertFileEquals ¶
AssertFileEquals reads a file from disk and asserts it equals the standard buffer
func LogUnexpected ¶
LogUnexpected fails the test and prints the values in an `expected: X got: Y` format
func UnexpectedError ¶
UnexpectedError fails the test with an unexpected error message
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.