Skip to content

Commit 674f52a

Browse files
committed
fix table-based tests
1 parent 6c2fee3 commit 674f52a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pkg/mongo_client/config_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ func TestGetTimeout(t *testing.T) {
1616
}
1717

1818
for _, tt := range cases {
19+
tt := tt
1920
t.Run(tt[0].(string), func(t *testing.T) {
2021
t.Parallel()
2122
s := getTimeout(tt[0].(string), time.Second)

0 commit comments

Comments
 (0)