Documentation ¶ Index ¶ func Chdir(t *testing.T, dir string) func CreateFile(t *testing.T, dir string, file string, content string) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Chdir ¶ func Chdir(t *testing.T, dir string) func CreateFile ¶ func CreateFile(t *testing.T, dir string, file string, content string) CreateFile creates or updates the given `file` in the given `dir` with the given `content` and registers a cleanup function on the provided `t` to remove the file once the test completes. Types ¶ This section is empty. Source Files ¶ View all Source files utils.go Click to show internal directories. Click to hide internal directories.