Documentation ¶
Overview ¶
Package test provides internal helper functions for tests. Clients should not use this internal package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClearCommandLine ¶
func ClearCommandLine() (reset func())
ClearCommandLine clears flag.CommandLine and os.Args
os.Args is set to []string{"spell"}. flag.CommandLine is set to an empty FlagSet
Call reset to restore flag.CommandLine and os.Args to their state before calling this function.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.