We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e169a0f commit 2946011Copy full SHA for 2946011
1 file changed
src/main/groovy/com/github/hauner/openapi/test/ProcessorTestBase.groovy
@@ -176,10 +176,12 @@ abstract class ProcessorTestBase {
176
}
177
178
/**
179
- * collect paths in file system
+ * collect paths in file system.
180
+ *
181
+ * will convert all paths to use "/" as path separator
182
*/
183
protected static List<String> collectPaths(Path source) {
- def files = []
184
+ List<String> files = []
185
186
def found = Files.walk (source)
187
.filter ({ f ->
@@ -191,7 +193,9 @@ abstract class ProcessorTestBase {
191
193
})
192
194
found.close ()
195
- return files
196
+ files.collect {
197
+ it.replace ("\\\\", "/")
198
+ }
199
200
201
0 commit comments