aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugolib/filesystems
diff options
context:
space:
mode:
authorPanagiotis Koursaris <[email protected]>2020-04-22 00:16:36 +0300
committerGitHub <[email protected]>2020-04-21 23:16:36 +0200
commit49e6c8cb4ed83e20f1e0ac164e91c38854177b99 (patch)
tree4c1a4bdfbb2fa71d7d5e3675d8a1b49682d52221 /hugolib/filesystems
parentf37e77f2d338cf876cfa637a662acd76f0f2009b (diff)
downloadhugo-49e6c8cb4ed83e20f1e0ac164e91c38854177b99.tar.gz
hugo-49e6c8cb4ed83e20f1e0ac164e91c38854177b99.zip
hugolib/filesystems: Fix typo in test suite
Diffstat (limited to 'hugolib/filesystems')
-rw-r--r--hugolib/filesystems/basefs_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/hugolib/filesystems/basefs_test.go b/hugolib/filesystems/basefs_test.go
index a0e9f0020..e3222af48 100644
--- a/hugolib/filesystems/basefs_test.go
+++ b/hugolib/filesystems/basefs_test.go
@@ -398,7 +398,7 @@ func TestMakePathRelative(t *testing.T) {
}
func checkFileCount(fs afero.Fs, dirname string, c *qt.C, expected int) {
- count, _, err := countFileaAndGetFilenames(fs, dirname)
+ count, _, err := countFilesAndGetFilenames(fs, dirname)
c.Assert(err, qt.IsNil)
c.Assert(count, qt.Equals, expected)
}
@@ -415,7 +415,7 @@ func checkFileContent(fs afero.Fs, filename string, c *qt.C, expected ...string)
}
}
-func countFileaAndGetFilenames(fs afero.Fs, dirname string) (int, []string, error) {
+func countFilesAndGetFilenames(fs afero.Fs, dirname string) (int, []string, error) {
if fs == nil {
return 0, nil, errors.New("no fs")
}