Skip to content

Commit 00838b6

Browse files
committed
Use add_hash instead of set_hash in integration tests #374
As a preliminary work for #309 since set_array will change its behaviour but add_array will keep the functionality.
1 parent 19051fb commit 00838b6

File tree

2 files changed

+2
-2
lines changed
  • metafix/src/test/resources/org/metafacture/metafix/integration/method/fromXml/toJson
    • replace_toUpperStrictnessHandlesProcessExceptions
    • replace_toUpper

2 files changed

+2
-2
lines changed

metafix/src/test/resources/org/metafacture/metafix/integration/method/fromXml/toJson/replace_toUpper/test.fix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
do list(path: "700[01] ", "var": "$i")
2-
set_hash("contribution[].$append.agent")
2+
add_hash("contribution[].$append.agent")
33
copy_field("$i.a", "contribution[].$last.agent.label")
44
end
55

metafix/src/test/resources/org/metafacture/metafix/integration/method/fromXml/toJson/replace_toUpperStrictnessHandlesProcessExceptions/test.fix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
do list(path: "700[01] ", "var": "$i")
2-
set_hash("contribution[].$append.agent")
2+
add_hash("contribution[].$append.agent")
33
copy_field("$i.a", "contribution[].$last.agent.label")
44
end
55

0 commit comments

Comments
 (0)