summaryrefslogtreecommitdiffstats
path: root/htesting
diff options
context:
space:
mode:
Diffstat (limited to 'htesting')
-rw-r--r--htesting/test_helpers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/htesting/test_helpers.go b/htesting/test_helpers.go
index fa3f29c44..21b4b831e 100644
--- a/htesting/test_helpers.go
+++ b/htesting/test_helpers.go
@@ -38,7 +38,7 @@ func init() {
}
// CreateTempDir creates a temp dir in the given filesystem and
-// returns the dirnam and a func that removes it when done.
+// returns the dirname and a func that removes it when done.
func CreateTempDir(fs afero.Fs, prefix string) (string, func(), error) {
tempDir, err := afero.TempDir(fs, "", prefix)
if err != nil {