-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ghislain Fourny
committed
Jul 24, 2024
1 parent
866906d
commit 1ab2e36
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
src/test/resources/test_files/runtime/Updating/SimpleInsertErr11.jq
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
(:JIQS: ShouldCrash; ErrorCode="JNUP0006"; ErrorMetadata="LINE:3:COLUMN:22:" :) | ||
copy $je := {"a": 1, "b": 2, "c": 3, "d": 4} | ||
modify (delete $je.a, insert "a" : 10 into $je) | ||
modify (delete json $je.a, insert json "a" : 10 into $je) | ||
return $je | ||
|
||
(: selector key already exists in object in snapshot :) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters