Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SwappedFile ¶
type SwappedFile struct {
// contains filtered or unexported fields
}
SwappedFile is a temporary swapped file.
func UseFakeStderr ¶
func UseFakeStderr(t *testing.T) SwappedFile
UseFakeStderr swaps stderr with fake one.
func UseFakeStdout ¶
func UseFakeStdout(t *testing.T) SwappedFile
UseFakeStdout swaps stdout with fake one.
Click to show internal directories.
Click to hide internal directories.