Skip to content

Commit

Permalink
Test --raw-output.
Browse files Browse the repository at this point in the history
  • Loading branch information
01mf02 committed Nov 21, 2024
1 parent bc8a290 commit 6dd99f6
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions jaq/tests/golden.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,19 @@ test!(
test!(
join_output,
&["-j", "."],
r#"[] "foo" "bar" 1 {} "#,
"[]foobar1{}"
r#"[] "foo" "bar" 1 2 {}"#,
"[]foobar12{}"
);

test!(
raw_output,
&["-r", "."],
r#""foo" "bar" ["baz"]"#,
r#"foo
bar
[
"baz"
]"#
);

test!(
Expand Down

0 comments on commit 6dd99f6

Please sign in to comment.