diff --git a/internal/tspath/path_test.go b/internal/tspath/path_test.go index 981c7d3fd5..07683b8825 100644 --- a/internal/tspath/path_test.go +++ b/internal/tspath/path_test.go @@ -463,8 +463,8 @@ func BenchmarkGetNormalizedAbsolutePath(b *testing.B) { for fnName, fn := range funcs { b.Run(fnName, func(b *testing.B) { b.ReportAllocs() - for _, test := range tests { - for b.Loop() { + for b.Loop() { + for _, test := range tests { fn(test[0], test[1]) } }