1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-12 10:55:20 +02:00

fix test issue on Windows

This commit is contained in:
Christopher Fenner 2018-06-27 14:28:16 +02:00
parent 251f731ca8
commit 70f7e5a6fa
No known key found for this signature in database
GPG Key ID: 749881F766EA636F

View File

@ -70,9 +70,9 @@ class MtaMultiplexerTest extends BasePiperTest {
assertThat(jlr.log, containsString('Found 2 maven descriptor files!'))
assertThat(optionsList.get(0), hasEntry('myParameters', 'value'))
assertThat(optionsList.get(0), hasEntry('scanType', 'maven'))
assertThat(optionsList.get(0), hasEntry('buildDescriptorFile', 'some-service/pom.xml'))
assertThat(optionsList.get(0), hasEntry('buildDescriptorFile', "some-service${File.separator}pom.xml"))
assertThat(optionsList.get(1), hasEntry('myParameters', 'value'))
assertThat(optionsList.get(1), hasEntry('scanType', 'maven'))
assertThat(optionsList.get(1), hasEntry('buildDescriptorFile', 'some-other-service/pom.xml'))
assertThat(optionsList.get(1), hasEntry('buildDescriptorFile', "some-other-service${File.separator}pom.xml"))
}
}