Skip to content

Commit

Permalink
hugolib/filesystems: Fix typo in test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
panakour authored Apr 21, 2020
1 parent f37e77f commit 49e6c8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hugolib/filesystems/basefs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand All @@ -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")
}
Expand Down

0 comments on commit 49e6c8c

Please sign in to comment.