mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
hugolib/filesystems: Fix typo in test suite
This commit is contained in:
parent
f37e77f2d3
commit
49e6c8cb4e
1 changed files with 2 additions and 2 deletions
|
@ -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")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue