package
Version:
v0.21.4
Opens a new window with list of versions in this module.
Published: Feb 24, 2021
License: GPL-3.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func Assert(tb testing.TB, condition bool, format string, a ...interface{})
-
func Equals(tb testing.TB, exp, act interface{}, msgAndArgs ...interface{})
-
func ErrorEqual(tb testing.TB, left, right error, msgAndArgs ...interface{})
-
func NotOk(tb testing.TB, err error, a ...interface{})
-
func Ok(tb testing.TB, err error)
Assert fails the test if the condition is false.
func Equals(tb testing.TB, exp, act interface{}, msgAndArgs ...interface{})
Equals fails the test if exp is not equal to act.
func ErrorEqual(tb testing.TB, left, right error, msgAndArgs ...interface{})
ErrorEqual compares Go errors for equality.
NotOk fails the test if an err is nil.
Ok fails the test if an err is not nil.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.