[{ "testCaseDescription": "go-if-statements-insert-test", "expectedResult": { "changes": { "if-statements.go": [ { "span": { "replace": [ { "start": [ 1, 1 ], "end": [ 3, 1 ] }, { "start": [ 1, 1 ], "end": [ 1, 13 ] } ] }, "summary": "Replaced the 'main' module with the 'main' module" } ] }, "errors": {} }, "filePaths": [ "if-statements.go" ], "sha1": "07aae88de4bfa6f5dc1cf72e50b7a7ab3a8e826e", "gitDir": "test/corpus/repos/go", "sha2": "197035a86336059bb513405976a02b0e37058772" } ,{ "testCaseDescription": "go-if-statements-replacement-insert-test", "expectedResult": { "changes": { "if-statements.go": [ { "span": { "insert": { "start": [ 3, 4 ], "end": [ 3, 7 ] } }, "summary": "Added the 'x()' function call" }, { "span": { "insert": { "start": [ 4, 1 ], "end": [ 4, 4 ] } }, "summary": "Added the 'b()' function call" }, { "span": { "insert": { "start": [ 6, 4 ], "end": [ 6, 5 ] } }, "summary": "Added the 'y' identifier" }, { "span": { "insert": { "start": [ 6, 9 ], "end": [ 6, 12 ] } }, "summary": "Added the 'b()' function call" }, { "span": { "insert": { "start": [ 6, 14 ], "end": [ 6, 15 ] } }, "summary": "Added the 'c' identifier" }, { "span": { "insert": { "start": [ 7, 1 ], "end": [ 7, 4 ] } }, "summary": "Added the 'd()' function call" }, { "span": { "insert": { "start": [ 9, 4 ], "end": [ 9, 7 ] } }, "summary": "Added the 'z()' function call" }, { "span": { "insert": { "start": [ 10, 1 ], "end": [ 10, 4 ] } }, "summary": "Added the 'b()' function call" }, { "span": { "insert": { "start": [ 12, 1 ], "end": [ 12, 4 ] } }, "summary": "Added the 'c()' function call" }, { "span": { "insert": { "start": [ 14, 4 ], "end": [ 14, 7 ] } }, "summary": "Added the 'a()' function call" }, { "span": { "insert": { "start": [ 15, 1 ], "end": [ 15, 4 ] } }, "summary": "Added the 'b()' function call" }, { "span": { "insert": { "start": [ 17, 4 ], "end": [ 17, 5 ] } }, "summary": "Added the 'a' identifier" }, { "span": { "insert": { "start": [ 17, 9 ], "end": [ 17, 12 ] } }, "summary": "Added the 'b()' function call" }, { "span": { "insert": { "start": [ 17, 14 ], "end": [ 17, 15 ] } }, "summary": "Added the 'c' identifier" }, { "span": { "insert": { "start": [ 18, 1 ], "end": [ 18, 4 ] } }, "summary": "Added the 'd()' function call" }, { "span": { "insert": { "start": [ 20, 4 ], "end": [ 20, 7 ] } }, "summary": "Added the 'a()' function call" }, { "span": { "insert": { "start": [ 21, 1 ], "end": [ 21, 4 ] } }, "summary": "Added the 'b()' function call" }, { "span": { "insert": { "start": [ 23, 1 ], "end": [ 23, 4 ] } }, "summary": "Added the 'c()' function call" } ] }, "errors": {} }, "filePaths": [ "if-statements.go" ], "sha1": "197035a86336059bb513405976a02b0e37058772", "gitDir": "test/corpus/repos/go", "sha2": "20646c5133170d63be852fef462cd3274da71f32" } ,{ "testCaseDescription": "go-if-statements-delete-insert-test", "expectedResult": { "changes": { "if-statements.go": [ { "span": { "replace": [ { "start": [ 3, 4 ], "end": [ 3, 5 ] }, { "start": [ 3, 4 ], "end": [ 3, 5 ] } ] }, "summary": "Replaced the 'x' identifier with the 'a' identifier in the a() function call" }, { "span": { "replace": [ { "start": [ 6, 4 ], "end": [ 6, 5 ] }, { "start": [ 6, 4 ], "end": [ 6, 5 ] } ] }, "summary": "Replaced the 'y' identifier with the 'a' identifier" }, { "span": { "replace": [ { "start": [ 9, 4 ], "end": [ 9, 5 ] }, { "start": [ 9, 4 ], "end": [ 9, 5 ] } ] }, "summary": "Replaced the 'z' identifier with the 'a' identifier in the a() function call" } ] }, "errors": {} }, "filePaths": [ "if-statements.go" ], "sha1": "20646c5133170d63be852fef462cd3274da71f32", "gitDir": "test/corpus/repos/go", "sha2": "5daa2e11c89f6c2bee5210a65b38dead495372a9" } ,{ "testCaseDescription": "go-if-statements-replacement-test", "expectedResult": { "changes": { "if-statements.go": [ { "span": { "replace": [ { "start": [ 3, 4 ], "end": [ 3, 5 ] }, { "start": [ 3, 4 ], "end": [ 3, 5 ] } ] }, "summary": "Replaced the 'a' identifier with the 'x' identifier in the x() function call" }, { "span": { "replace": [ { "start": [ 6, 4 ], "end": [ 6, 5 ] }, { "start": [ 6, 4 ], "end": [ 6, 5 ] } ] }, "summary": "Replaced the 'a' identifier with the 'y' identifier" }, { "span": { "replace": [ { "start": [ 9, 4 ], "end": [ 9, 5 ] }, { "start": [ 9, 4 ], "end": [ 9, 5 ] } ] }, "summary": "Replaced the 'a' identifier with the 'z' identifier in the z() function call" } ] }, "errors": {} }, "filePaths": [ "if-statements.go" ], "sha1": "5daa2e11c89f6c2bee5210a65b38dead495372a9", "gitDir": "test/corpus/repos/go", "sha2": "7e36f0dcbe01c32b2e447ee115fd83b5b9b58759" } ,{ "testCaseDescription": "go-if-statements-delete-replacement-test", "expectedResult": { "changes": { "if-statements.go": [ { "span": { "delete": { "start": [ 3, 4 ], "end": [ 3, 7 ] } }, "summary": "Deleted the 'x()' function call" }, { "span": { "delete": { "start": [ 4, 1 ], "end": [ 4, 4 ] } }, "summary": "Deleted the 'b()' function call" }, { "span": { "delete": { "start": [ 6, 4 ], "end": [ 6, 5 ] } }, "summary": "Deleted the 'y' identifier" }, { "span": { "delete": { "start": [ 6, 9 ], "end": [ 6, 12 ] } }, "summary": "Deleted the 'b()' function call" }, { "span": { "delete": { "start": [ 6, 14 ], "end": [ 6, 15 ] } }, "summary": "Deleted the 'c' identifier" }, { "span": { "delete": { "start": [ 7, 1 ], "end": [ 7, 4 ] } }, "summary": "Deleted the 'd()' function call" }, { "span": { "delete": { "start": [ 9, 4 ], "end": [ 9, 7 ] } }, "summary": "Deleted the 'z()' function call" }, { "span": { "delete": { "start": [ 10, 1 ], "end": [ 10, 4 ] } }, "summary": "Deleted the 'b()' function call" }, { "span": { "delete": { "start": [ 12, 1 ], "end": [ 12, 4 ] } }, "summary": "Deleted the 'c()' function call" }, { "span": { "delete": { "start": [ 14, 4 ], "end": [ 14, 7 ] } }, "summary": "Deleted the 'a()' function call" }, { "span": { "delete": { "start": [ 15, 1 ], "end": [ 15, 4 ] } }, "summary": "Deleted the 'b()' function call" }, { "span": { "delete": { "start": [ 17, 4 ], "end": [ 17, 5 ] } }, "summary": "Deleted the 'a' identifier" }, { "span": { "delete": { "start": [ 17, 9 ], "end": [ 17, 12 ] } }, "summary": "Deleted the 'b()' function call" }, { "span": { "delete": { "start": [ 17, 14 ], "end": [ 17, 15 ] } }, "summary": "Deleted the 'c' identifier" }, { "span": { "delete": { "start": [ 18, 1 ], "end": [ 18, 4 ] } }, "summary": "Deleted the 'd()' function call" }, { "span": { "delete": { "start": [ 20, 4 ], "end": [ 20, 7 ] } }, "summary": "Deleted the 'a()' function call" }, { "span": { "delete": { "start": [ 21, 1 ], "end": [ 21, 4 ] } }, "summary": "Deleted the 'b()' function call" }, { "span": { "delete": { "start": [ 23, 1 ], "end": [ 23, 4 ] } }, "summary": "Deleted the 'c()' function call" }, { "span": { "insert": { "start": [ 14, 4 ], "end": [ 14, 7 ] } }, "summary": "Added the 'x()' function call" }, { "span": { "insert": { "start": [ 15, 1 ], "end": [ 15, 4 ] } }, "summary": "Added the 'b()' function call" }, { "span": { "insert": { "start": [ 17, 4 ], "end": [ 17, 5 ] } }, "summary": "Added the 'y' identifier" }, { "span": { "insert": { "start": [ 17, 9 ], "end": [ 17, 12 ] } }, "summary": "Added the 'b()' function call" }, { "span": { "insert": { "start": [ 17, 14 ], "end": [ 17, 15 ] } }, "summary": "Added the 'c' identifier" }, { "span": { "insert": { "start": [ 18, 1 ], "end": [ 18, 4 ] } }, "summary": "Added the 'd()' function call" }, { "span": { "insert": { "start": [ 20, 4 ], "end": [ 20, 7 ] } }, "summary": "Added the 'z()' function call" }, { "span": { "insert": { "start": [ 21, 1 ], "end": [ 21, 4 ] } }, "summary": "Added the 'b()' function call" }, { "span": { "insert": { "start": [ 23, 1 ], "end": [ 23, 4 ] } }, "summary": "Added the 'c()' function call" } ] }, "errors": {} }, "filePaths": [ "if-statements.go" ], "sha1": "7e36f0dcbe01c32b2e447ee115fd83b5b9b58759", "gitDir": "test/corpus/repos/go", "sha2": "d34771c376dcea72277e3449c62e1bfae5f3963e" } ,{ "testCaseDescription": "go-if-statements-delete-test", "expectedResult": { "changes": { "if-statements.go": [ { "span": { "delete": { "start": [ 3, 4 ], "end": [ 3, 7 ] } }, "summary": "Deleted the 'a()' function call" }, { "span": { "delete": { "start": [ 4, 1 ], "end": [ 4, 4 ] } }, "summary": "Deleted the 'b()' function call" }, { "span": { "delete": { "start": [ 6, 4 ], "end": [ 6, 5 ] } }, "summary": "Deleted the 'a' identifier" }, { "span": { "delete": { "start": [ 6, 9 ], "end": [ 6, 12 ] } }, "summary": "Deleted the 'b()' function call" }, { "span": { "delete": { "start": [ 6, 14 ], "end": [ 6, 15 ] } }, "summary": "Deleted the 'c' identifier" }, { "span": { "delete": { "start": [ 7, 1 ], "end": [ 7, 4 ] } }, "summary": "Deleted the 'd()' function call" }, { "span": { "delete": { "start": [ 9, 4 ], "end": [ 9, 7 ] } }, "summary": "Deleted the 'a()' function call" }, { "span": { "delete": { "start": [ 10, 1 ], "end": [ 10, 4 ] } }, "summary": "Deleted the 'b()' function call" }, { "span": { "delete": { "start": [ 12, 1 ], "end": [ 12, 4 ] } }, "summary": "Deleted the 'c()' function call" } ] }, "errors": {} }, "filePaths": [ "if-statements.go" ], "sha1": "d34771c376dcea72277e3449c62e1bfae5f3963e", "gitDir": "test/corpus/repos/go", "sha2": "d0807970ece6bef4b18afe4ea5cef3291689064d" } ,{ "testCaseDescription": "go-if-statements-delete-rest-test", "expectedResult": { "changes": { "if-statements.go": [ { "span": { "replace": [ { "start": [ 1, 1 ], "end": [ 1, 13 ] }, { "start": [ 1, 1 ], "end": [ 3, 1 ] } ] }, "summary": "Replaced the 'main' module with the 'main' module" } ] }, "errors": {} }, "filePaths": [ "if-statements.go" ], "sha1": "d0807970ece6bef4b18afe4ea5cef3291689064d", "gitDir": "test/corpus/repos/go", "sha2": "7986cb447aab8da255aeff9cf756da65e16b122e" }]