Documentation
¶
Index ¶
- func FileExistsWithContent(t *testing.T, filePath string, expectedContent string)
- func PathDoesNotExist(t *testing.T, filePath string)
- func PathExist(t *testing.T, filePath string)
- func TempDir(t *testing.T) string
- func TempFile(t *testing.T, name string) string
- func TempFileWithContent(t *testing.T, name string, content []byte) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileExistsWithContent ¶
FileExistsWithContent is a test helper function used to assert that the specified file exists and has the expected content
func PathDoesNotExist ¶
PathDoesNotExist is a test helper function used to assert that the specified path does not exist
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.