Documentation ¶
Overview ¶
Package morerequire includes more require functions than "github.com/stretchr/testify/require" Do not add dependencies on any main code as it will cause cycles.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RequireChdirIntoTemp ¶
RequireChdirIntoTemp creates a new temp directory and cleans it up on with the returned function.
func RequireNewTempDir ¶
RequireNewTempDir creates a new directory. The function returned cleans it up.
func RequireSetMtime ¶
RequireSetMtime sets the mtime of the dir given a string formatted date. Ex "2006-01-02"
func RequireSetenv ¶
RequireSetenv will os.Setenv the given key and value. The function returned reverts to the original.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.