Skip to content

Commit 6b96da1

Browse files
authored
Merge pull request #640 from KleeKitz/patch-1
Fix typos in InMemHandler comments
2 parents ad5b1e7 + 0af9d9e commit 6b96da1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

request-example.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const maxSymlinkFollows = 5
2020

2121
var errTooManySymlinks = errors.New("too many symbolic links")
2222

23-
// InMemHandler returns a Hanlders object with the test handlers.
23+
// InMemHandler returns a Handlers object with the test handlers.
2424
func InMemHandler() Handlers {
2525
root := &root{
2626
rootFile: &memFile{name: "/", modtime: time.Now(), isdir: true},
@@ -449,7 +449,7 @@ func (fs *root) Lstat(r *Request) (ListerAt, error) {
449449
return listerat{file}, nil
450450
}
451451

452-
// In memory file-system-y thing that the Hanlders live on
452+
// In memory file-system-y thing that the Handlers live on
453453
type root struct {
454454
rootFile *memFile
455455
mockErr error

0 commit comments

Comments
 (0)