Add CodeLingo Tenet to fix missing close file

This commit is contained in:
leilaes 2019-04-10 19:43:34 +12:00 committed by rfjakob
parent 7d81494a64
commit cc0a603ef8
2 changed files with 5 additions and 0 deletions

4
codelingo.yaml Normal file
View File

@ -0,0 +1,4 @@
tenets:
- import: codelingo/effective-go
- import: codelingo/code-review-comments
- import: codelingo/rfjakob-gocryptfs

View File

@ -85,6 +85,7 @@ func TestExampleFses(t *testing.T) {
t.Errorf("fsck returned code %d but fs should be clean", code)
}
}
dirfd.Close()
}
// TestTerabyteFile verifies that fsck does something intelligent when it hits