all: Fix various user-facing and non-user-facing typos (#8509)

Found via `codespell -q 3 -S lang,./gui/default/vendor -L benchs,bu,inflight,ro`
This commit is contained in:
luzpaz
2022-08-23 15:44:11 +02:00
committed by GitHub
parent 62d4261f62
commit 837ffcfab5
30 changed files with 40 additions and 40 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ func (e basicFileInfo) Mode() FileMode {
// NTFS deduped files. Remove the symlink bit.
m &^= os.ModeSymlink
}
// Set executable bits on files with executable extenions (.exe, .bat, etc).
// Set executable bits on files with executable extensions (.exe, .bat, etc).
if isWindowsExecutable(e.Name()) {
m |= 0111
}
+1 -1
View File
@@ -242,7 +242,7 @@ func benchmarkWalkFakeFS(b *testing.B, fsys Filesystem, paths []string, otherOpE
}
func TestStressCaseFS(t *testing.T) {
// Exercise a bunch of paralell operations for stressing out race
// Exercise a bunch of parallel operations for stressing out race
// conditions in the realnamer cache etc.
const limit = 10 * time.Second
+1 -1
View File
@@ -205,7 +205,7 @@ func TestMtimeFSInsensitive(t *testing.T) {
t.Error("Should not have failed:", err)
}
// Check that we get back the mtime we set, if we were supposed to succed.
// Check that we get back the mtime we set, if we were supposed to succeed.
info, err := fs.Lstat("testdata/FILE")
if err != nil {
t.Error("Lstat shouldn't fail:", err)