package
module
Version:
v0.0.0-...-14e89e5
Opens a new window with list of versions in this module.
Published: Apr 5, 2023
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func Equal(t *testing.T, expected, actual interface{}, msg ...string)
-
func EqualValues(t *testing.T, expected, actual interface{}, msg ...string)
-
func Error(t *testing.T, err error, msg ...string)
-
func False(t *testing.T, actual bool, msg ...string)
-
func NoError(t *testing.T, err error, msg ...string)
-
func NotEqual(t *testing.T, notExpected, actual interface{}, msg ...string)
-
func True(t *testing.T, actual bool, msg ...string)
Equal compare if two values are exactly equals.
func EqualValues(t *testing.T, expected, actual interface{}, msg ...string)
EqualValues compare the underlying values of two types.
Error assert that error is not nil.
False asserts that the value is false.
NoError assert that error is nil.
func NotEqual(t *testing.T, notExpected, actual interface{}, msg ...string)
NotEqual asserts that two values are not equals.
True asserts that the value is true.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.