File tree Expand file tree Collapse file tree
src/main/groovy/com/github/hauner/openapi/test Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22:badge-ci: https://github.com/openapi-processor/openapi-processor-test/workflows/ci/badge.svg
33:oaps-ci: https://github.com/openapi-processor/openapi-processor-test/actions?query=workflow%3Aci
44:oaps-license: https://github.com/openapi-processor/openapi-processor-test/blob/master/LICENSE
5- :oap-docs: https://hauner.github.com/openapi-processor/spring/current/index.html
5+ :oap-docs: https://docs.openapiprocessor.io
66
77:oap-core: https://github.com/openapi-processor/openapi-processor-core
88:oap-spring: https://github.com/openapi-processor/openapi-processor-spring
Original file line number Diff line number Diff line change @@ -176,10 +176,12 @@ abstract class ProcessorTestBase {
176176 }
177177
178178 /**
179- * collect paths in file system
179+ * collect paths in file system.
180+ *
181+ * will convert all paths to use "/" as path separator
180182 */
181183 protected static List<String > collectPaths (Path source ) {
182- def files = []
184+ List< String > files = []
183185
184186 def found = Files . walk (source)
185187 .filter ({ f ->
@@ -191,7 +193,9 @@ abstract class ProcessorTestBase {
191193 })
192194 found. close ()
193195
194- return files
196+ files. collect {
197+ it. replace (' \\ ' , ' /' )
198+ }
195199 }
196200
197201 /**
You can’t perform that action at this time.
0 commit comments