mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-08-28 22:28:43 -04:00
more excludes and pretty logs
This commit is contained in:
parent
07ddc548dc
commit
051922e5c8
6 changed files with 40 additions and 10 deletions
|
@ -31,7 +31,7 @@ func processAssertEmpty(t *testing.T, p Processor, issues ...result.Issue) {
|
|||
|
||||
func TestExclude(t *testing.T) {
|
||||
p := NewExclude("^exclude$")
|
||||
texts := []string{"exclude", "1", "", "exclud", "notexclude"}
|
||||
texts := []string{"excLude", "1", "", "exclud", "notexclude"}
|
||||
var issues []result.Issue
|
||||
for _, t := range texts {
|
||||
issues = append(issues, newTextIssue(t))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue