Skip to content

Commit

Permalink
Merge #345 from branch '343-bumpJavaTo11' of github.com:metafacture/m…
Browse files Browse the repository at this point in the history
…etafacture-fix
  • Loading branch information
dr0i committed Mar 7, 2024
2 parents 5de67d6 + 4f2f19e commit 07d8458
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Expand Up @@ -39,7 +39,7 @@ subprojects {
'equalsverifier': '3.8.2',
'guava': '29.0-jre',
'jackson': '2.13.3',
'jdk': '8',
'jdk': '11',
'jena': '3.17.0',
'jetty': '9.4.14.v20181114',
'jquery': '3.3.1-1',
Expand Down
Expand Up @@ -2310,7 +2310,7 @@ public void copyFieldToSubfieldOfArrayOfObjectsWithExplicitAppend() {

@Test
public void copyFieldToSubfieldOfArrayOfStringsWithIndexImplicitAppend() {
MetafixTestHelpers.assertProcessException(IndexOutOfBoundsException.class, "Index: 0, Size: 0", () ->
MetafixTestHelpers.assertProcessException(IndexOutOfBoundsException.class, "Index 0 out of bounds for length 0", () ->
MetafixTestHelpers.assertFix(streamReceiver, Arrays.asList(
"set_array('test[]')",
"copy_field('key', 'test[].1')"
Expand Down
@@ -1,2 +1,2 @@
^Exception in thread "main" org\.metafacture\.metafix\.FixProcessException: Error while executing Fix expression \(at .*/metafix/src/test/resources/org/metafacture/metafix/integration/record/fromJson/toJson/copy_fieldToArrayOfStringsWithIndex/test\.fix, line 2\): copy_field\("key", "test\[\]\.1"\)$
^Caused by: java\.lang\.IndexOutOfBoundsException: Index: 0, Size: 0$
^Caused by: java\.lang\.IndexOutOfBoundsException: Index 0 out of bounds for length 0$

0 comments on commit 07d8458

Please sign in to comment.