package
Version:
v3.0.0-rc.1
Opens a new window with list of versions in this module.
Published: Apr 11, 2020
License: GPL-3.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func ContainsStr(t *testing.T, expected string, array []string, message string)
-
func Equal(t *testing.T, expected interface{}, actual interface{}, message string)
-
func Nil(t *testing.T, actual interface{}, message string)
-
func NotEqual(t *testing.T, expected interface{}, actual interface{}, message string)
-
func NotNil(t *testing.T, actual interface{}, message string)
-
func True(t *testing.T, expression bool, message string)
ContainsStr assert that an array contains an expected value
func Equal(t *testing.T, expected interface{}, actual interface{}, message string)
Equal assert that an object is equal to an expected value
Nil assert that an object is nil
func NotEqual(t *testing.T, expected interface{}, actual interface{}, message string)
NotEqual assert that an object is not equal to an expected value
NotNil assert that an object is not nil
True assert that an expression is true
Source Files
¶
Click to show internal directories.
Click to hide internal directories.