Skip to content

Commit

Permalink
test-patch-2
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangyunhao116 committed Nov 12, 2020
1 parent d6ca7c8 commit a4bfc4f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkg/config/config_test.go
@@ -1,6 +1,7 @@
package config

import (
"fmt"
"testing"

"github.com/stretchr/testify/assert"
Expand Down Expand Up @@ -30,8 +31,6 @@ func TestGetExcludePatterns(t *testing.T) {
break
}
}
if !inDefaultExc {
t.Fatalf("%s must appear inside DefaultExcludePatterns.", p.ID)
}
assert.True(t, inDefaultExc, fmt.Sprintf("%s must appear inside DefaultExcludePatterns.", p.ID))
}
}

0 comments on commit a4bfc4f

Please sign in to comment.