Skip to content

Commit

Permalink
fix some typos
Browse files Browse the repository at this point in the history
Signed-off-by: cui fliter <[email protected]>
  • Loading branch information
cuishuang committed Aug 17, 2022
1 parent 7ab80d7 commit a71b2d8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions memfs/memory_test.go
Original file line number Diff line number Diff line change
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 a71b2d8

Please sign in to comment.