Skip to content

Commit

Permalink
New test.
Browse files Browse the repository at this point in the history
  • Loading branch information
01mf02 committed Jul 17, 2024
1 parent 6729198 commit 44e5851
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jaq-interpret/tests/path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ fn iter_assign() {
);
}

yields!(index_keyword, r#"{"if": 0} | .if"#, 0);
yields!(obj_keyword, "{if: 0} | .if", 0);

yields!(key_update1, "{} | .a |= .+1", json!({"a": 1}));
yields!(key_update2, "{} | .a? |= .+1", json!({"a": 1}));

Expand Down

0 comments on commit 44e5851

Please sign in to comment.