Skip to content

Commit 1b88f62

Browse files
authored
Merge pull request #26 from cuishuang/master
fix some typos
2 parents 4e5a841 + a71b2d8 commit 1b88f62

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

memfs/memory_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ func (s *MemorySuite) TestNegativeOffsets(c *C) {
4747
c.Assert(err, ErrorMatches, "writeat negative: negative offset")
4848
}
4949

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

77-
attemps := 30
78-
for n := 0; n < attemps; n++ {
76+
attempts := 30
77+
for n := 0; n < attempts; n++ {
7978
actual, err := s.FS.ReadDir("")
8079
c.Assert(err, IsNil)
8180

0 commit comments

Comments
 (0)