aboutsummaryrefslogtreecommitdiffhomepage
path: root/hugofs
diff options
context:
space:
mode:
authorPhil Davis <[email protected]>2020-12-16 16:56:32 +0545
committerGitHub <[email protected]>2020-12-16 12:11:32 +0100
commit04b89857e104ac7dcbf9fc65d8d4f1a1178123e6 (patch)
tree585bf761f0a1cfc69dffcd8afd22e94ca9da7c07 /hugofs
parent21fa1e86f2aa929fb0983a0cc3dc4e271ea1cc54 (diff)
downloadhugo-04b89857e104ac7dcbf9fc65d8d4f1a1178123e6.tar.gz
hugo-04b89857e104ac7dcbf9fc65d8d4f1a1178123e6.zip
all: Fix minor typos
Diffstat (limited to 'hugofs')
-rw-r--r--hugofs/filter_fs.go2
-rw-r--r--hugofs/nosymlink_test.go2
-rw-r--r--hugofs/rootmapping_fs_test.go2
3 files changed, 3 insertions, 3 deletions
diff --git a/hugofs/filter_fs.go b/hugofs/filter_fs.go
index 8b0afd38d..279a28312 100644
--- a/hugofs/filter_fs.go
+++ b/hugofs/filter_fs.go
@@ -276,7 +276,7 @@ func (f *filterDir) Readdirnames(count int) ([]string, error) {
}
// Try to extract the language from the given filename.
-// Any valid language identificator in the name will win over the
+// Any valid language identifier in the name will win over the
// language set on the file system, e.g. "mypost.en.md".
func langInfoFrom(languages map[string]int, name string) (string, string, string) {
var lang string
diff --git a/hugofs/nosymlink_test.go b/hugofs/nosymlink_test.go
index 99151ec67..e00dcf1a8 100644
--- a/hugofs/nosymlink_test.go
+++ b/hugofs/nosymlink_test.go
@@ -135,7 +135,7 @@ func TestNoSymlinkFs(t *testing.T) {
// Check readdir
f, err = fs.Open(workDir)
c.Assert(err, qt.IsNil)
- // There is at least one unsported symlink inside workDir
+ // There is at least one unsupported symlink inside workDir
_, err = f.Readdir(-1)
c.Assert(err, qt.IsNil)
f.Close()
diff --git a/hugofs/rootmapping_fs_test.go b/hugofs/rootmapping_fs_test.go
index e5f68d7a9..fc2ddeb62 100644
--- a/hugofs/rootmapping_fs_test.go
+++ b/hugofs/rootmapping_fs_test.go
@@ -270,7 +270,7 @@ func TestRootMappingFsMount(t *testing.T) {
c.Assert(err, qt.IsNil)
c.Assert(string(b), qt.Equals, "some no content")
- // Ambigous
+ // Ambiguous
_, err = rfs.Stat(filepath.FromSlash("content/singles/p1.md"))
c.Assert(err, qt.Not(qt.IsNil))