Skip to content

Commit

Permalink
Use lowercase directories (#1229)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Wilner authored Jul 11, 2020
1 parent 6550984 commit 60abe4a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/run_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -299,12 +299,12 @@ func TestPathPrefix(t *testing.T) {
Args []string
Pattern string
}{
{"empty", nil, "^testdata/withTests/"},
{"prefixed", []string{"--path-prefix=cool"}, "^cool/testdata/withTests"},
{"empty", nil, "^testdata/withtests/"},
{"prefixed", []string{"--path-prefix=cool"}, "^cool/testdata/withtests"},
} {
t.Run(tt.Name, func(t *testing.T) {
testshared.NewLintRunner(t).Run(
append(tt.Args, getTestDataDir("withTests"))..., //nolint:scopelint
append(tt.Args, getTestDataDir("withtests"))..., //nolint:scopelint
).ExpectOutputRegexp(
tt.Pattern, //nolint:scopelint
)
Expand Down

0 comments on commit 60abe4a

Please sign in to comment.