@@ -1382,7 +1382,6 @@ func TestGit(t *testing.T) {
13821382 as .NoError (gitCmd .Run (), "failed to add everything to the index" )
13831383
13841384 treefmt (t ,
1385- withConfig (configPath , cfg ),
13861385 withNoError (t ),
13871386 withStats (t , map [stats.Type ]int {
13881387 stats .Traversed : 33 ,
@@ -1401,7 +1400,6 @@ func TestGit(t *testing.T) {
14011400 })
14021401
14031402 treefmt (t ,
1404- withConfig (configPath , cfg ),
14051403 withNoError (t ),
14061404 withStats (t , map [stats.Type ]int {
14071405 stats .Traversed : 33 ,
@@ -1417,7 +1415,6 @@ func TestGit(t *testing.T) {
14171415 // we should traverse and match against fewer files, but no formatting should occur as no formatting signatures
14181416 // are impacted
14191417 treefmt (t ,
1420- withConfig (configPath , cfg ),
14211418 withNoError (t ),
14221419 withStats (t , map [stats.Type ]int {
14231420 stats .Traversed : 30 ,
@@ -1436,7 +1433,6 @@ func TestGit(t *testing.T) {
14361433 // traverse 82 files.
14371434 treefmt (t ,
14381435 withArgs ("--walk" , "filesystem" ),
1439- withConfig (configPath , cfg ),
14401436 withNoError (t ),
14411437 withStats (t , map [stats.Type ]int {
14421438 stats .Traversed : 82 ,
@@ -1605,7 +1601,6 @@ func TestJujutsu(t *testing.T) {
16051601 })
16061602
16071603 treefmt (t ,
1608- withConfig (configPath , cfg ),
16091604 withNoError (t ),
16101605 withStats (t , map [stats.Type ]int {
16111606 stats .Traversed : 33 ,
@@ -1625,7 +1620,6 @@ func TestJujutsu(t *testing.T) {
16251620 // we should traverse and match against fewer files, but no formatting should occur as no formatting signatures
16261621 // are impacted
16271622 treefmt (t ,
1628- withConfig (configPath , cfg ),
16291623 withNoError (t ),
16301624 withStats (t , map [stats.Type ]int {
16311625 stats .Traversed : 30 ,
@@ -1644,7 +1638,6 @@ func TestJujutsu(t *testing.T) {
16441638 // traverse 130 files.
16451639 treefmt (t ,
16461640 withArgs ("--walk" , "filesystem" ),
1647- withConfig (configPath , cfg ),
16481641 withNoError (t ),
16491642 withStats (t , map [stats.Type ]int {
16501643 stats .Traversed : 133 ,
0 commit comments