Skip to content
This repository has been archived by the owner on Jan 27, 2025. It is now read-only.

Commit

Permalink
Add integration test for #185
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasNx committed Mar 2, 2022
1 parent 1d8e9b4 commit ffaca00
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"animal" : "cat"
}
{
"animal" : "zebra"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{"bnimal": "cat"}
{"cnimal": "zebra"}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
move_field("*mal", "animal")
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FLUX_DIR + "input.json"
|open-file
|as-records
|decode-json
|fix(FLUX_DIR + "test.fix")
|encode-json(prettyPrinting="true")
|write(FLUX_DIR + "output-metafix.json")
;

0 comments on commit ffaca00

Please sign in to comment.