1
0
Fork 0
mirror of https://github.com/vbatts/go-mtree.git synced 2025-07-15 19:19:51 +00:00

*_test.go: ignore cyclomatic complexity for test files

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2022-04-08 21:59:08 -04:00
parent 7fed71e221
commit 106c52de51
Signed by: vbatts
GPG key ID: 10937E57733F1362
6 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,4 @@
//go:build go1.7
// +build go1.7
package mtree
@ -20,6 +21,7 @@ func init() {
logrus.SetLevel(logrus.DebugLevel)
}
//gocyclo:ignore
func TestUpdate(t *testing.T) {
content := []byte("I know half of you half as well as I ought to")
dir, err := ioutil.TempDir("", "test-check-keywords")