[{ "testCaseDescription": "javascript-named-function-insert-test", "expectedResult": { "changes": { "named-function.js": [ { "span": { "insert": { "start": [ 1, 1 ], "end": [ 1, 42 ] } }, "summary": "Added the 'myFunction' function" } ] }, "errors": {} }, "filePaths": [ "named-function.js" ], "sha1": "73ed6c706441e034a7c2f8922f9294250e675d04", "gitDir": "test/corpus/repos/javascript", "sha2": "e20576ba5fdac443d8e6cc88977cc3f1186fa282" } ,{ "testCaseDescription": "javascript-named-function-replacement-insert-test", "expectedResult": { "changes": { "named-function.js": [ { "span": { "insert": { "start": [ 1, 1 ], "end": [ 1, 45 ] } }, "summary": "Added the 'anotherFunction' function" }, { "span": { "insert": { "start": [ 2, 1 ], "end": [ 2, 42 ] } }, "summary": "Added the 'myFunction' function" } ] }, "errors": {} }, "filePaths": [ "named-function.js" ], "sha1": "e20576ba5fdac443d8e6cc88977cc3f1186fa282", "gitDir": "test/corpus/repos/javascript", "sha2": "772e2a4589cbec599fefe45bf0d077cedf22ca86" } ,{ "testCaseDescription": "javascript-named-function-delete-insert-test", "expectedResult": { "changes": { "named-function.js": [ { "span": { "replace": [ { "start": [ 1, 10 ], "end": [ 1, 25 ] }, { "start": [ 1, 10 ], "end": [ 1, 20 ] } ] }, "summary": "Replaced the 'anotherFunction' identifier with the 'myFunction' identifier in the myFunction function" }, { "span": { "insert": { "start": [ 1, 21 ], "end": [ 1, 25 ] } }, "summary": "Added the 'arg1' identifier in the myFunction function" }, { "span": { "insert": { "start": [ 1, 27 ], "end": [ 1, 31 ] } }, "summary": "Added the 'arg2' identifier in the myFunction function" }, { "span": { "insert": { "start": [ 1, 35 ], "end": [ 1, 39 ] } }, "summary": "Added the 'arg2' identifier in the myFunction function" }, { "span": { "delete": { "start": [ 1, 30 ], "end": [ 1, 43 ] } }, "summary": "Deleted the 'false' return statement in the myFunction function" } ] }, "errors": {} }, "filePaths": [ "named-function.js" ], "sha1": "772e2a4589cbec599fefe45bf0d077cedf22ca86", "gitDir": "test/corpus/repos/javascript", "sha2": "d733727f807f049ebae6e871c6e0799a51cf4d6c" } ,{ "testCaseDescription": "javascript-named-function-replacement-test", "expectedResult": { "changes": { "named-function.js": [ { "span": { "replace": [ { "start": [ 1, 10 ], "end": [ 1, 20 ] }, { "start": [ 1, 10 ], "end": [ 1, 25 ] } ] }, "summary": "Replaced the 'myFunction' identifier with the 'anotherFunction' identifier in the anotherFunction function" }, { "span": { "delete": { "start": [ 1, 21 ], "end": [ 1, 25 ] } }, "summary": "Deleted the 'arg1' identifier in the anotherFunction function" }, { "span": { "delete": { "start": [ 1, 27 ], "end": [ 1, 31 ] } }, "summary": "Deleted the 'arg2' identifier in the anotherFunction function" }, { "span": { "insert": { "start": [ 1, 30 ], "end": [ 1, 43 ] } }, "summary": "Added the 'false' return statement in the anotherFunction function" }, { "span": { "delete": { "start": [ 1, 35 ], "end": [ 1, 39 ] } }, "summary": "Deleted the 'arg2' identifier in the anotherFunction function" } ] }, "errors": {} }, "filePaths": [ "named-function.js" ], "sha1": "d733727f807f049ebae6e871c6e0799a51cf4d6c", "gitDir": "test/corpus/repos/javascript", "sha2": "6a1c88aa5002ac8beae4cd7060c6b746265ec980" } ,{ "testCaseDescription": "javascript-named-function-delete-replacement-test", "expectedResult": { "changes": { "named-function.js": [ { "span": { "delete": { "start": [ 1, 1 ], "end": [ 1, 45 ] } }, "summary": "Deleted the 'anotherFunction' function" }, { "span": { "delete": { "start": [ 2, 1 ], "end": [ 2, 42 ] } }, "summary": "Deleted the 'myFunction' function" }, { "span": { "insert": { "start": [ 2, 1 ], "end": [ 2, 45 ] } }, "summary": "Added the 'anotherFunction' function" } ] }, "errors": {} }, "filePaths": [ "named-function.js" ], "sha1": "6a1c88aa5002ac8beae4cd7060c6b746265ec980", "gitDir": "test/corpus/repos/javascript", "sha2": "9880a1849836979a7cf3962b120697a38bb28c1a" } ,{ "testCaseDescription": "javascript-named-function-delete-test", "expectedResult": { "changes": { "named-function.js": [ { "span": { "delete": { "start": [ 1, 1 ], "end": [ 1, 42 ] } }, "summary": "Deleted the 'myFunction' function" } ] }, "errors": {} }, "filePaths": [ "named-function.js" ], "sha1": "9880a1849836979a7cf3962b120697a38bb28c1a", "gitDir": "test/corpus/repos/javascript", "sha2": "67f23aac15c50d0d93b67f4deeb2c3d0b08e9b18" } ,{ "testCaseDescription": "javascript-named-function-delete-rest-test", "expectedResult": { "changes": { "named-function.js": [ { "span": { "delete": { "start": [ 1, 1 ], "end": [ 1, 45 ] } }, "summary": "Deleted the 'anotherFunction' function" } ] }, "errors": {} }, "filePaths": [ "named-function.js" ], "sha1": "67f23aac15c50d0d93b67f4deeb2c3d0b08e9b18", "gitDir": "test/corpus/repos/javascript", "sha2": "f3f37e99308905c9b051e7f10cebaa4d1ec6c444" }]