[{ "testCaseDescription": "javascript-anonymous-function-insert-test", "expectedResult": { "changes": { "anonymous-function.js": [ { "span": { "insert": { "start": [ 1, 1 ], "name": "anonymous-function.js", "end": [ 1, 32 ] } }, "summary": "Added an anonymous(a, b) function", "tag": "JSONSummary" } ] }, "errors": {} }, "filePaths": [ "anonymous-function.js" ], "sha1": "b4b200a6398403b141e5fd87506899af661b97a6", "gitDir": "test/corpus/repos/javascript", "sha2": "8a39270e274dfce45be0134070ed337077a22812" } ,{ "testCaseDescription": "javascript-anonymous-function-replacement-insert-test", "expectedResult": { "changes": { "anonymous-function.js": [ { "span": { "insert": { "start": [ 1, 1 ], "name": "anonymous-function.js", "end": [ 1, 32 ] } }, "summary": "Added an anonymous(b, c) function", "tag": "JSONSummary" }, { "span": { "insert": { "start": [ 2, 1 ], "name": "anonymous-function.js", "end": [ 2, 32 ] } }, "summary": "Added an anonymous(a, b) function", "tag": "JSONSummary" } ] }, "errors": {} }, "filePaths": [ "anonymous-function.js" ], "sha1": "8a39270e274dfce45be0134070ed337077a22812", "gitDir": "test/corpus/repos/javascript", "sha2": "0d7f05ae9912519348e739c2dd350509ece5bfd6" } ,{ "testCaseDescription": "javascript-anonymous-function-delete-insert-test", "expectedResult": { "changes": { "anonymous-function.js": [ { "span": { "replace": [ { "start": [ 1, 10 ], "name": "anonymous-function.js", "end": [ 1, 11 ] }, { "start": [ 1, 10 ], "name": "anonymous-function.js", "end": [ 1, 11 ] } ] }, "summary": "Replaced the 'b' identifier with the 'a' identifier", "tag": "JSONSummary" }, { "span": { "replace": [ { "start": [ 1, 12 ], "name": "anonymous-function.js", "end": [ 1, 13 ] }, { "start": [ 1, 12 ], "name": "anonymous-function.js", "end": [ 1, 13 ] } ] }, "summary": "Replaced the 'c' identifier with the 'b' identifier", "tag": "JSONSummary" }, { "span": { "replace": [ { "start": [ 1, 24 ], "name": "anonymous-function.js", "end": [ 1, 25 ] }, { "start": [ 1, 24 ], "name": "anonymous-function.js", "end": [ 1, 25 ] } ] }, "summary": "Replaced the 'b' identifier with the 'a' identifier", "tag": "JSONSummary" }, { "span": { "replace": [ { "start": [ 1, 28 ], "name": "anonymous-function.js", "end": [ 1, 29 ] }, { "start": [ 1, 28 ], "name": "anonymous-function.js", "end": [ 1, 29 ] } ] }, "summary": "Replaced the 'c' identifier with the 'b' identifier", "tag": "JSONSummary" } ] }, "errors": {} }, "filePaths": [ "anonymous-function.js" ], "sha1": "0d7f05ae9912519348e739c2dd350509ece5bfd6", "gitDir": "test/corpus/repos/javascript", "sha2": "f0269043db13f7333a5f2633fc30ff94c7321846" } ,{ "testCaseDescription": "javascript-anonymous-function-replacement-test", "expectedResult": { "changes": { "anonymous-function.js": [ { "span": { "replace": [ { "start": [ 1, 10 ], "name": "anonymous-function.js", "end": [ 1, 11 ] }, { "start": [ 1, 10 ], "name": "anonymous-function.js", "end": [ 1, 11 ] } ] }, "summary": "Replaced the 'a' identifier with the 'b' identifier", "tag": "JSONSummary" }, { "span": { "replace": [ { "start": [ 1, 12 ], "name": "anonymous-function.js", "end": [ 1, 13 ] }, { "start": [ 1, 12 ], "name": "anonymous-function.js", "end": [ 1, 13 ] } ] }, "summary": "Replaced the 'b' identifier with the 'c' identifier", "tag": "JSONSummary" }, { "span": { "replace": [ { "start": [ 1, 24 ], "name": "anonymous-function.js", "end": [ 1, 25 ] }, { "start": [ 1, 24 ], "name": "anonymous-function.js", "end": [ 1, 25 ] } ] }, "summary": "Replaced the 'a' identifier with the 'b' identifier", "tag": "JSONSummary" }, { "span": { "replace": [ { "start": [ 1, 28 ], "name": "anonymous-function.js", "end": [ 1, 29 ] }, { "start": [ 1, 28 ], "name": "anonymous-function.js", "end": [ 1, 29 ] } ] }, "summary": "Replaced the 'b' identifier with the 'c' identifier", "tag": "JSONSummary" } ] }, "errors": {} }, "filePaths": [ "anonymous-function.js" ], "sha1": "f0269043db13f7333a5f2633fc30ff94c7321846", "gitDir": "test/corpus/repos/javascript", "sha2": "3d445ebd82f990df87119eb1b00223e23be72ec5" } ,{ "testCaseDescription": "javascript-anonymous-function-delete-replacement-test", "expectedResult": { "changes": { "anonymous-function.js": [ { "span": { "delete": { "start": [ 1, 1 ], "name": "anonymous-function.js", "end": [ 1, 32 ] } }, "summary": "Deleted an anonymous(b, c) function", "tag": "JSONSummary" }, { "span": { "delete": { "start": [ 2, 1 ], "name": "anonymous-function.js", "end": [ 2, 32 ] } }, "summary": "Deleted an anonymous(a, b) function", "tag": "JSONSummary" }, { "span": { "insert": { "start": [ 2, 1 ], "name": "anonymous-function.js", "end": [ 2, 32 ] } }, "summary": "Added an anonymous(b, c) function", "tag": "JSONSummary" } ] }, "errors": {} }, "filePaths": [ "anonymous-function.js" ], "sha1": "3d445ebd82f990df87119eb1b00223e23be72ec5", "gitDir": "test/corpus/repos/javascript", "sha2": "25bca4ac08d3f6ffba5acbecfe0cd7172d466cfe" } ,{ "testCaseDescription": "javascript-anonymous-function-delete-test", "expectedResult": { "changes": { "anonymous-function.js": [ { "span": { "delete": { "start": [ 1, 1 ], "name": "anonymous-function.js", "end": [ 1, 32 ] } }, "summary": "Deleted an anonymous(a, b) function", "tag": "JSONSummary" } ] }, "errors": {} }, "filePaths": [ "anonymous-function.js" ], "sha1": "25bca4ac08d3f6ffba5acbecfe0cd7172d466cfe", "gitDir": "test/corpus/repos/javascript", "sha2": "39a82d9ad7a0b2894c3c2be17a141e2ee5ff886c" } ,{ "testCaseDescription": "javascript-anonymous-function-delete-rest-test", "expectedResult": { "changes": { "anonymous-function.js": [ { "span": { "delete": { "start": [ 1, 1 ], "name": "anonymous-function.js", "end": [ 1, 32 ] } }, "summary": "Deleted an anonymous(b, c) function", "tag": "JSONSummary" } ] }, "errors": {} }, "filePaths": [ "anonymous-function.js" ], "sha1": "39a82d9ad7a0b2894c3c2be17a141e2ee5ff886c", "gitDir": "test/corpus/repos/javascript", "sha2": "ab4f48bf9115a296943ba7b2304e674c7149c29d" }]