Skip to content

Commit

Permalink
Merge pull request #26 from cuishuang/master
Browse files Browse the repository at this point in the history
fix some typos
  • Loading branch information
mcuadros committed Dec 19, 2022
2 parents 4e5a841 + a71b2d8 commit 1b88f62
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions memfs/memory_test.go
Expand Up @@ -47,7 +47,6 @@ func (s *MemorySuite) TestNegativeOffsets(c *C) {
c.Assert(err, ErrorMatches, "writeat negative: negative offset")
}


func (s *MemorySuite) TestExclusive(c *C) {
f, err := s.FS.OpenFile("exclusive", os.O_CREATE|os.O_EXCL|os.O_RDWR, 0666)
c.Assert(err, IsNil)
Expand All @@ -74,8 +73,8 @@ func (s *MemorySuite) TestOrder(c *C) {
c.Assert(err, IsNil)
}

attemps := 30
for n := 0; n < attemps; n++ {
attempts := 30
for n := 0; n < attempts; n++ {
actual, err := s.FS.ReadDir("")
c.Assert(err, IsNil)

Expand Down

0 comments on commit 1b88f62

Please sign in to comment.