Use lowercase directories (#1229)
This commit is contained in:
parent
6550984878
commit
60abe4ab6a
@ -299,12 +299,12 @@ func TestPathPrefix(t *testing.T) {
|
|||||||
Args []string
|
Args []string
|
||||||
Pattern string
|
Pattern string
|
||||||
}{
|
}{
|
||||||
{"empty", nil, "^testdata/withTests/"},
|
{"empty", nil, "^testdata/withtests/"},
|
||||||
{"prefixed", []string{"--path-prefix=cool"}, "^cool/testdata/withTests"},
|
{"prefixed", []string{"--path-prefix=cool"}, "^cool/testdata/withtests"},
|
||||||
} {
|
} {
|
||||||
t.Run(tt.Name, func(t *testing.T) {
|
t.Run(tt.Name, func(t *testing.T) {
|
||||||
testshared.NewLintRunner(t).Run(
|
testshared.NewLintRunner(t).Run(
|
||||||
append(tt.Args, getTestDataDir("withTests"))..., //nolint:scopelint
|
append(tt.Args, getTestDataDir("withtests"))..., //nolint:scopelint
|
||||||
).ExpectOutputRegexp(
|
).ExpectOutputRegexp(
|
||||||
tt.Pattern, //nolint:scopelint
|
tt.Pattern, //nolint:scopelint
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user