Skip to content

Commit 82f3b25

Browse files
committed
Fix matrix testing with single selector that has multiple versions
1 parent aee49b8 commit 82f3b25

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

buildSrc/src/main/groovy/org/springframework/restdocs/build/matrix/MatrixTestExtension.groovy

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,6 @@ public class MatrixTestExtension {
7474
}
7575

7676
List<List<Map<String, String>>> cartesianProduct(List<List<Map<String, String>>> lists) {
77-
if (lists.size() == 1) {
78-
return lists
79-
}
8077
return cartesianProduct(lists, 0)
8178
}
8279

0 commit comments

Comments
 (0)