Can't relying on order
@@ -352,7 +352,7 @@ ENTRYPOINT ["java", "-cp", "/app/resources:/app/classes:/app/libs/*", "com.bmusc
private void assertBuildContextLibs() {
File libsDir = new File(buildContextDir(), 'libs')
assert libsDir.isDirectory()
- assert libsDir.listFiles()*.name == ['javax.websocket-api-1.0.jar', 'jetty-all-9.2.5.v20141112.jar', 'javax.servlet-api-3.1.0.jar']
+ assert libsDir.listFiles()*.name.containsAll(['javax.websocket-api-1.0.jar', 'jetty-all-9.2.5.v20141112.jar', 'javax.servlet-api-3.1.0.jar'])
}
private void assertBuildContextResources() {
