Skip to content

Commit

Permalink
Add new tests to test.json errors 6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alenkow committed Mar 12, 2024
1 parent 089dbe7 commit edc81eb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/test/resources/jsonpatch/test.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,17 @@
]
},
"message": "value differs from expectations: expected '{\"value\":{},\"onclick\":{}}' but found '{\"value\":\"Close\",\"onclick\":\"CloseDoc()\"}'"
},
{
"op": { "op": "test", "path": "/menu/3", "value": {"value": {}, "onclick": {}}},
"node": {
"menu": [
{"value": "New", "onclick": "CreateNewDoc()"},
{"value": "Open", "onclick": "OpenDoc()"},
{"value": "Close", "onclick": "CloseDoc()"}
]
},
"message": "value differs from expectations: expected '{\"value\":{},\"onclick\":{}}' but found 'null'"
}
],
"ops": [
Expand Down

0 comments on commit edc81eb

Please sign in to comment.