#515: Implement auto dependency update #912
GitHub Actions / Test Report
failed
Jan 30, 2024 in 0s
484 tests run, 0 skipped, 1 failed.
Annotations
github-actions / Test Report
ChangesFileIOTest.testReadInvalidFirstLineFails
Expected: a string starting with "PK-CORE-171: Changes file 'dummy-file' contains invalid first line '# invalid first line'. Update first line so that it matches regex"
but: was "E-PK-CORE-171: Changes file 'dummy-file' contains invalid first line '# invalid first line'. Update first line so that it matches regex ^# ([\w\s-]+) (\d+\.\d+\.\d+), released (\d{4}-[\d?]{2}-[\d?]{2})$"
Raw output
java.lang.AssertionError:
Expected: a string starting with "PK-CORE-171: Changes file 'dummy-file' contains invalid first line '# invalid first line'. Update first line so that it matches regex"
but: was "E-PK-CORE-171: Changes file 'dummy-file' contains invalid first line '# invalid first line'. Update first line so that it matches regex ^# ([\w\s-]+) (\d+\.\d+\.\d+), released (\d{4}-[\d?]{2}-[\d?]{2})$"
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
at com.exasol.projectkeeper.validators.changesfile.ChangesFileIOTest.testReadInvalidFirstLineFails(ChangesFileIOTest.java:57)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
Loading