We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6550984 commit 60abe4aCopy full SHA for 60abe4a
test/run_test.go
@@ -299,12 +299,12 @@ func TestPathPrefix(t *testing.T) {
299
Args []string
300
Pattern string
301
}{
302
- {"empty", nil, "^testdata/withTests/"},
303
- {"prefixed", []string{"--path-prefix=cool"}, "^cool/testdata/withTests"},
+ {"empty", nil, "^testdata/withtests/"},
+ {"prefixed", []string{"--path-prefix=cool"}, "^cool/testdata/withtests"},
304
} {
305
t.Run(tt.Name, func(t *testing.T) {
306
testshared.NewLintRunner(t).Run(
307
- append(tt.Args, getTestDataDir("withTests"))..., //nolint:scopelint
+ append(tt.Args, getTestDataDir("withtests"))..., //nolint:scopelint
308
).ExpectOutputRegexp(
309
tt.Pattern, //nolint:scopelint
310
)
0 commit comments