Skip to content

Commit 674f52a

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

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/mongo_client/config_test.go

+1
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)