Skip to content

Commit f1a5b4f

Browse files
committed
Fix test
1 parent 55f2ba8 commit f1a5b4f

File tree

4 files changed

+14
-12
lines changed
  • metafix/src/test/resources/org/metafacture/metafix/integration

4 files changed

+14
-12
lines changed

metafix/src/test/resources/org/metafacture/metafix/integration/lookup/fromJson/toJson/lookupInSubfieldInArrayOfObjects_complex_2/expected.json

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
{
2-
"test" : [ {
3-
"animal" : "mammal"
4-
}, {
5-
"animal" : "bird"
6-
}, {
7-
"animal" : "human"
8-
} ],
2+
"metadata" : {
3+
"real" : {
4+
"test" : [ {
5+
"animal" : "mammal"
6+
}, {
7+
"animal" : "bird"
8+
}, {
9+
"animal" : "human"
10+
} ] } },
911
"animals" : [ {
1012
"animal" : "dog",
1113
"classification" : {
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"test" : [ "value" ],
3-
"key" : "value"
2+
"key" : "value",
3+
"test" : [ "value" ]
44
}
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
set_array("test[]")
2-
copy_field("key", "test[].1.field")
2+
copy_field("key", "test[].1")
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2+
"key" : "value",
23
"test" : [
34
{
45
"field": "value"
5-
} ],
6-
"key" : "value"
6+
} ]
77
}

0 commit comments

Comments
 (0)