Skip to content

Commit 399bb34

Browse files
Merge pull request #523 from MarkRosemaker/fix-spelling
fix: spelling errors (excpected -> expected, iself -> itself)
2 parents 9b67716 + c448d49 commit 399bb34

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

basepath_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ func TestRealPath(t *testing.T) {
8080
t.Errorf("Got error %s", err)
8181
}
8282

83-
excpected := filepath.Join(baseDir, anotherDir)
83+
expected := filepath.Join(baseDir, anotherDir)
8484

85-
if surrealPath != excpected {
86-
t.Errorf("Expected \n%s got \n%s", excpected, surrealPath)
85+
if surrealPath != expected {
86+
t.Errorf("Expected \n%s got \n%s", expected, surrealPath)
8787
}
8888
}
8989
}

lstater.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919

2020
// Lstater is an optional interface in Afero. It is only implemented by the
2121
// filesystems saying so.
22-
// It will call Lstat if the filesystem iself is, or it delegates to, the os filesystem.
22+
// It will call Lstat if the filesystem itself is, or it delegates to, the os filesystem.
2323
// Else it will call Stat.
2424
// In addition to the FileInfo, it will return a boolean telling whether Lstat was called or not.
2525
type Lstater interface {

0 commit comments

Comments
 (0)