Documentation
¶
Overview ¶
Package testutils provides testing utilities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RemoveInconsistentInfo ¶
func RemoveInconsistentInfo(t *testing.T, text string, opt FixupOptions) string
RemoveInconsistentInfo removes inconsistent info from test data.
Types ¶
type FixupOptions ¶ added in v0.7.0
type FixupOptions struct {
UseRealHash bool
}
FixupOptions holds options for fixing up test data.
Click to show internal directories.
Click to hide internal directories.