package
Version:
v0.0.0-...-8352b7d
Opens a new window with list of versions in this module.
Published: Jul 8, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func Assert(t *testing.T, condition bool, msg string, v ...interface{})
-
func Equals(t *testing.T, exp, act interface{})
-
func False(t *testing.T, condition bool)
-
func Implements(t *testing.T, exp interface{}, v interface{})
-
func Ok(t *testing.T, err error)
-
func Panics(t *testing.T, msg string, f func())
-
func True(t *testing.T, condition bool)
Assert fails the test if the condition is false.
func Equals(t *testing.T, exp, act interface{})
Equals fails the test if exp is not equal to act.
False fails the test if the condition is true
func Implements(t *testing.T, exp interface{}, v interface{})
Implements fails the test if v doesn't implement an interface type from exp
Ok fails the test if an err is not nil.
Panics fails the test if running f doesn't panic with msg
True fails the test if the condition is false
Source Files
¶
Click to show internal directories.
Click to hide internal directories.