Skip to content

Commit d6c0867

Browse files
authored
Fix BenchmarkGetNormalizedAbsolutePath (#745)
1 parent 3ab630d commit d6c0867

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/tspath/path_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -463,8 +463,8 @@ func BenchmarkGetNormalizedAbsolutePath(b *testing.B) {
463463
for fnName, fn := range funcs {
464464
b.Run(fnName, func(b *testing.B) {
465465
b.ReportAllocs()
466-
for _, test := range tests {
467-
for b.Loop() {
466+
for b.Loop() {
467+
for _, test := range tests {
468468
fn(test[0], test[1])
469469
}
470470
}

0 commit comments

Comments
 (0)