package
Version:
v1.0.0-alpha.3
Opens a new window with list of versions in this module.
Published: Sep 17, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
GenerateDatabaseName comes up with a valid mongodb database name from a Go test name.
func RequireErrorContains(t *testing.T, err error, substring string, msgAndArgs ...interface{})
RequireErrorContains fails the test when the error doesn't contain
the specified substring. This is less fragile than using require.EqualError
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.