Skip to content

Commit f99dc53

Browse files
committed
test: Add index to AllFS test name
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
1 parent 0588897 commit f99dc53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/basic_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ import (
2222
func eachBasicFS(t *testing.T, test func(t *testing.T, fs Basic)) {
2323
t.Helper()
2424

25-
for _, fs := range allFS(t.TempDir) {
26-
t.Run(fmt.Sprintf("%T", fs), func(t *testing.T) {
25+
for i, fs := range allFS(t.TempDir) {
26+
t.Run(fmt.Sprintf("%d-%T", i, fs), func(t *testing.T) {
2727
test(t, fs)
2828
})
2929
}

0 commit comments

Comments
 (0)