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:
parent
7fed71e221
commit
106c52de51
6 changed files with 11 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue