Closed aftab-a closed 5 years ago
Patch command fails to apply patch to json if:-
file2:- Aftab-MacBook:jsodiffTest aftab.ansari$ cat file4 { "a": { "b" : ["2", "1"], "c" : ["3", "4", "5", "6"] } }
Generated patch is as :- @ ["a","c",{}]
Fix involved fixing few of the checks done while patch is executed. Also added updated e2e test case to test the same. All tests are passing.
Patch command fails to apply patch to json if:-
file2:- Aftab-MacBook:jsodiffTest aftab.ansari$ cat file4 { "a": { "b" : ["2", "1"], "c" : ["3", "4", "5", "6"] } }
Generated patch is as :- @ ["a","c",{}]
Fix involved fixing few of the checks done while patch is executed. Also added updated e2e test case to test the same. All tests are passing.