airshipctl/pkg/environment
Ian Howell 091fa09a23 [#50] Clean up temp files from unit tests
This commit adds the utility testing function TempDir, which provides a
tester with a temporary directory as well as a means of cleaning up that
directory. The new function is implemented everywhere that makes sense
throughout the code base.

This also cleans up the directories left behind by go-git's testing
fixtures.

Some light refactoring was also performed in this change.

Change-Id: I754484934660487140f57671bacb5463cf669e3e
2020-02-20 11:48:11 -06:00
..
constants.go [#28] Fix bad defaults for config file paths. 2020-02-10 16:25:43 -06:00
settings_test.go [#50] Clean up temp files from unit tests 2020-02-20 11:48:11 -06:00
settings.go [#28] Fix bad defaults for config file paths. 2020-02-10 16:25:43 -06:00