summaryrefslogtreecommitdiffstats
path: root/htesting
diff options
context:
space:
mode:
authorOleksandr Redko <Oleksandr_Redko@epam.com>2023-05-22 20:11:12 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2023-06-19 09:26:29 +0200
commit9009c8cdca448e50704f7ecd1a3918c5919b0f37 (patch)
tree960aaa2b80a07c959360ad66fc79ebe7c0fa9632 /htesting
parent12dc9a6e4acd5280a3e8b1658cbb96669fa97057 (diff)
all: Fix typos in function names and comments
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 {