Skip to content

Commit 6101204

Browse files
acc: Remove unused functional args from runTest (#3293)
1 parent 3c9ada8 commit 6101204

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

acceptance/acceptance_test.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -285,15 +285,15 @@ func testAccept(t *testing.T, inprocessMode bool, singleTest string) int {
285285
if len(expanded[0]) > 0 {
286286
t.Logf("Running test with env %v", expanded[0])
287287
}
288-
runTest(t, dir, 0, coverDir, repls.Clone(), config, configPath, expanded[0], inprocessMode, envFilters)
288+
runTest(t, dir, 0, coverDir, repls.Clone(), config, expanded[0], envFilters)
289289
} else {
290290
for ind, envset := range expanded {
291291
envname := strings.Join(envset, "/")
292292
t.Run(envname, func(t *testing.T) {
293293
if !inprocessMode {
294294
t.Parallel()
295295
}
296-
runTest(t, dir, ind, coverDir, repls.Clone(), config, configPath, envset, inprocessMode, envFilters)
296+
runTest(t, dir, ind, coverDir, repls.Clone(), config, envset, envFilters)
297297
})
298298
}
299299
}
@@ -426,9 +426,7 @@ func runTest(t *testing.T,
426426
coverDir string,
427427
repls testdiff.ReplacementsContext,
428428
config internal.TestConfig,
429-
configPath string,
430429
customEnv []string,
431-
inprocessMode bool,
432430
envFilters []string,
433431
) {
434432
if LogConfig {

0 commit comments

Comments
 (0)