package
module
Version:
v0.0.0-...-4cd824a
Opens a new window with list of versions in this module.
Published: Apr 9, 2023
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
ta: test assertions
This is essentially a fork of https://github.com/benbjohnson/testing but using go-cmp instead of reflect. DeepEqual for equality testing.
Credit to Ben B. Johnson for the original code.
Documentation
¶
Assert fails the test if the condition is false.
func Equals(tb testing.TB, exp, act interface{})
Equals fails the test if exp is not equal to act.
OK fails the test if an err is not nil.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.