Add CodeLingo Tenet to fix missing close file
This commit is contained in:
parent
7d81494a64
commit
cc0a603ef8
4
codelingo.yaml
Normal file
4
codelingo.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
tenets:
|
||||||
|
- import: codelingo/effective-go
|
||||||
|
- import: codelingo/code-review-comments
|
||||||
|
- import: codelingo/rfjakob-gocryptfs
|
@ -85,6 +85,7 @@ func TestExampleFses(t *testing.T) {
|
|||||||
t.Errorf("fsck returned code %d but fs should be clean", code)
|
t.Errorf("fsck returned code %d but fs should be clean", code)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
dirfd.Close()
|
||||||
}
|
}
|
||||||
|
|
||||||
// TestTerabyteFile verifies that fsck does something intelligent when it hits
|
// TestTerabyteFile verifies that fsck does something intelligent when it hits
|
||||||
|
Loading…
Reference in New Issue
Block a user