Skip to content

Commit

Permalink
Update tests for Java 11. (#345)
Browse files Browse the repository at this point in the history
  • Loading branch information
blackwinter committed Mar 6, 2024
1 parent 8c9789a commit db9745b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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 db9745b

Please sign in to comment.