1
0
Fork 0
mirror of https://github.com/vbatts/go-mtree.git synced 2025-07-04 06:38:30 +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

@ -35,6 +35,7 @@ func TestCompare(t *testing.T) {
}
}
//gocyclo:ignore
func TestCompareModified(t *testing.T) {
dir, err := ioutil.TempDir("", "test-compare-modified")
if err != nil {
@ -114,6 +115,7 @@ func TestCompareModified(t *testing.T) {
}
}
//gocyclo:ignore
func TestCompareMissing(t *testing.T) {
dir, err := ioutil.TempDir("", "test-compare-missing")
if err != nil {
@ -205,6 +207,7 @@ func TestCompareMissing(t *testing.T) {
}
}
//gocyclo:ignore
func TestCompareExtra(t *testing.T) {
dir, err := ioutil.TempDir("", "test-compare-extra")
if err != nil {
@ -338,6 +341,7 @@ func TestCompareKeys(t *testing.T) {
}
}
//gocyclo:ignore
func TestTarCompare(t *testing.T) {
dir, err := ioutil.TempDir("", "test-compare-tar")
if err != nil {