[{ "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": "5c273fd87945c2af248d540c5aed68a31f6c7764", "gitDir": "test/corpus/repos/javascript", "sha2": "a825db07ab287ffe905845e18e66a504818192bb" } ,{ "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": "a825db07ab287ffe905845e18e66a504818192bb", "gitDir": "test/corpus/repos/javascript", "sha2": "c5821e92dde2d8cd469e250f8f8dbd6fe3f67c87" } ,{ "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": "c5821e92dde2d8cd469e250f8f8dbd6fe3f67c87", "gitDir": "test/corpus/repos/javascript", "sha2": "83f17b7b890d9fc0e45042f00b14d6d623b0a3bf" } ,{ "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": "83f17b7b890d9fc0e45042f00b14d6d623b0a3bf", "gitDir": "test/corpus/repos/javascript", "sha2": "332ab29578147f9d59d9188a2ec38c7a532659ed" } ,{ "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": "332ab29578147f9d59d9188a2ec38c7a532659ed", "gitDir": "test/corpus/repos/javascript", "sha2": "6c664353e0ec7dc3c3a5c13f5187dbcbf9b7208c" } ,{ "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": "6c664353e0ec7dc3c3a5c13f5187dbcbf9b7208c", "gitDir": "test/corpus/repos/javascript", "sha2": "9db8b0515b801edce2f03e610530d5e21eae88bf" } ,{ "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": "9db8b0515b801edce2f03e610530d5e21eae88bf", "gitDir": "test/corpus/repos/javascript", "sha2": "9116f7a64ba9239f8ae7846dffbecd56e444abe6" }]