package
Version:
v0.0.0-...-aee3e03
Opens a new window with list of versions in this module.
Published: Mar 20, 2020
License: MIT
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
¶
Cases fails for tests if the test case data [Given] is not equals [Expected] or
causes an error and does not match the corresponding [HasError] flag.
func That(t *testing.T, given, expected interface{})
That ...
type TestCase struct {
Name string
Given interface{}
Expected interface{}
HasError bool
}
TestCase ...
Source Files
¶
Click to show internal directories.
Click to hide internal directories.