[{ "testCaseDescription": "go-indexing-expressions-insert-test", "expectedResult": { "changes": { "indexing-expressions.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": [ "indexing-expressions.go" ], "sha1": "7a0e56fcfbef48bf43e71d2d33c4b74a2cf05cb5", "gitDir": "test/corpus/repos/go", "sha2": "b44d19f6acfc5bbf67f6886339ea690f4d07fc49" } ,{ "testCaseDescription": "go-indexing-expressions-replacement-insert-test", "expectedResult": { "changes": { "indexing-expressions.go": [ { "span": { "insert": { "start": [ 3, 1 ], "end": [ 3, 2 ] } }, "summary": "Added 'z' identifier" }, { "span": { "insert": { "start": [ 3, 4 ], "end": [ 3, 5 ] } }, "summary": "Added '2'" }, { "span": { "insert": { "start": [ 4, 2 ], "end": [ 4, 3 ] } }, "summary": "Added 'y' identifier" }, { "span": { "insert": { "start": [ 4, 5 ], "end": [ 4, 6 ] } }, "summary": "Added '1'" }, { "span": { "insert": { "start": [ 5, 2 ], "end": [ 5, 3 ] } }, "summary": "Added 'x' identifier" }, { "span": { "insert": { "start": [ 5, 4 ], "end": [ 5, 5 ] } }, "summary": "Added '1'" }, { "span": { "insert": { "start": [ 6, 2 ], "end": [ 6, 3 ] } }, "summary": "Added 'd' identifier" }, { "span": { "insert": { "start": [ 6, 4 ], "end": [ 6, 5 ] } }, "summary": "Added '1'" }, { "span": { "insert": { "start": [ 6, 6 ], "end": [ 6, 7 ] } }, "summary": "Added '2'" }, { "span": { "insert": { "start": [ 7, 2 ], "end": [ 7, 3 ] } }, "summary": "Added 'e' identifier" }, { "span": { "insert": { "start": [ 7, 5 ], "end": [ 7, 6 ] } }, "summary": "Added '2'" }, { "span": { "insert": { "start": [ 7, 7 ], "end": [ 7, 8 ] } }, "summary": "Added '3'" }, { "span": { "insert": { "start": [ 8, 2 ], "end": [ 8, 3 ] } }, "summary": "Added 'f' identifier" }, { "span": { "insert": { "start": [ 8, 4 ], "end": [ 8, 5 ] } }, "summary": "Added '1'" }, { "span": { "insert": { "start": [ 8, 6 ], "end": [ 8, 7 ] } }, "summary": "Added '2'" }, { "span": { "insert": { "start": [ 8, 8 ], "end": [ 8, 9 ] } }, "summary": "Added '3'" }, { "span": { "insert": { "start": [ 9, 1 ], "end": [ 9, 2 ] } }, "summary": "Added 'a' identifier" }, { "span": { "insert": { "start": [ 9, 3 ], "end": [ 9, 4 ] } }, "summary": "Added '1'" }, { "span": { "insert": { "start": [ 10, 2 ], "end": [ 10, 3 ] } }, "summary": "Added the 'b' identifier" }, { "span": { "insert": { "start": [ 11, 2 ], "end": [ 11, 3 ] } }, "summary": "Added 'c' identifier" }, { "span": { "insert": { "start": [ 11, 4 ], "end": [ 11, 5 ] } }, "summary": "Added '1'" }, { "span": { "insert": { "start": [ 12, 2 ], "end": [ 12, 3 ] } }, "summary": "Added 'd' identifier" }, { "span": { "insert": { "start": [ 12, 4 ], "end": [ 12, 5 ] } }, "summary": "Added '1'" }, { "span": { "insert": { "start": [ 12, 6 ], "end": [ 12, 7 ] } }, "summary": "Added '2'" }, { "span": { "insert": { "start": [ 13, 2 ], "end": [ 13, 3 ] } }, "summary": "Added 'e' identifier" }, { "span": { "insert": { "start": [ 13, 5 ], "end": [ 13, 6 ] } }, "summary": "Added '2'" }, { "span": { "insert": { "start": [ 13, 7 ], "end": [ 13, 8 ] } }, "summary": "Added '3'" }, { "span": { "insert": { "start": [ 14, 2 ], "end": [ 14, 3 ] } }, "summary": "Added 'f' identifier" }, { "span": { "insert": { "start": [ 14, 4 ], "end": [ 14, 5 ] } }, "summary": "Added '1'" }, { "span": { "insert": { "start": [ 14, 6 ], "end": [ 14, 7 ] } }, "summary": "Added '2'" }, { "span": { "insert": { "start": [ 14, 8 ], "end": [ 14, 9 ] } }, "summary": "Added '3'" } ] }, "errors": {} }, "filePaths": [ "indexing-expressions.go" ], "sha1": "b44d19f6acfc5bbf67f6886339ea690f4d07fc49", "gitDir": "test/corpus/repos/go", "sha2": "fe41e0eb66aad5a1df8f5ffdf95e876d0175ffba" } ,{ "testCaseDescription": "go-indexing-expressions-delete-insert-test", "expectedResult": { "changes": { "indexing-expressions.go": [ { "span": { "insert": { "start": [ 3, 1 ], "end": [ 3, 2 ] } }, "summary": "Added 'a' identifier" }, { "span": { "insert": { "start": [ 3, 3 ], "end": [ 3, 4 ] } }, "summary": "Added '1'" }, { "span": { "insert": { "start": [ 4, 2 ], "end": [ 4, 3 ] } }, "summary": "Added the 'b' identifier" }, { "span": { "replace": [ { "start": [ 3, 1 ], "end": [ 3, 2 ] }, { "start": [ 5, 2 ], "end": [ 5, 3 ] } ] }, "summary": "Replaced the 'z' identifier with the 'c' identifier" }, { "span": { "replace": [ { "start": [ 3, 4 ], "end": [ 3, 5 ] }, { "start": [ 5, 4 ], "end": [ 5, 5 ] } ] }, "summary": "Replaced '2' with '1'" }, { "span": { "delete": { "start": [ 4, 2 ], "end": [ 4, 3 ] } }, "summary": "Deleted 'y' identifier" }, { "span": { "delete": { "start": [ 4, 5 ], "end": [ 4, 6 ] } }, "summary": "Deleted '1'" }, { "span": { "delete": { "start": [ 5, 2 ], "end": [ 5, 3 ] } }, "summary": "Deleted 'x' identifier" }, { "span": { "delete": { "start": [ 5, 4 ], "end": [ 5, 5 ] } }, "summary": "Deleted '1'" } ] }, "errors": {} }, "filePaths": [ "indexing-expressions.go" ], "sha1": "fe41e0eb66aad5a1df8f5ffdf95e876d0175ffba", "gitDir": "test/corpus/repos/go", "sha2": "198518baec67c944e513ebc65d82c6ffde6542b8" } ,{ "testCaseDescription": "go-indexing-expressions-replacement-test", "expectedResult": { "changes": { "indexing-expressions.go": [ { "span": { "insert": { "start": [ 3, 1 ], "end": [ 3, 2 ] } }, "summary": "Added 'z' identifier" }, { "span": { "insert": { "start": [ 3, 4 ], "end": [ 3, 5 ] } }, "summary": "Added '2'" }, { "span": { "insert": { "start": [ 4, 2 ], "end": [ 4, 3 ] } }, "summary": "Added 'y' identifier" }, { "span": { "insert": { "start": [ 4, 5 ], "end": [ 4, 6 ] } }, "summary": "Added '1'" }, { "span": { "insert": { "start": [ 5, 2 ], "end": [ 5, 3 ] } }, "summary": "Added 'x' identifier" }, { "span": { "insert": { "start": [ 5, 4 ], "end": [ 5, 5 ] } }, "summary": "Added '1'" }, { "span": { "delete": { "start": [ 3, 1 ], "end": [ 3, 2 ] } }, "summary": "Deleted 'a' identifier" }, { "span": { "delete": { "start": [ 3, 3 ], "end": [ 3, 4 ] } }, "summary": "Deleted '1'" }, { "span": { "delete": { "start": [ 4, 2 ], "end": [ 4, 3 ] } }, "summary": "Deleted the 'b' identifier" }, { "span": { "delete": { "start": [ 5, 2 ], "end": [ 5, 3 ] } }, "summary": "Deleted 'c' identifier" }, { "span": { "delete": { "start": [ 5, 4 ], "end": [ 5, 5 ] } }, "summary": "Deleted '1'" } ] }, "errors": {} }, "filePaths": [ "indexing-expressions.go" ], "sha1": "198518baec67c944e513ebc65d82c6ffde6542b8", "gitDir": "test/corpus/repos/go", "sha2": "c2eab21985363577dad0d08638c5060ab80a8e25" } ,{ "testCaseDescription": "go-indexing-expressions-delete-replacement-test", "expectedResult": { "changes": { "indexing-expressions.go": [ { "span": { "delete": { "start": [ 3, 1 ], "end": [ 3, 2 ] } }, "summary": "Deleted 'z' identifier" }, { "span": { "delete": { "start": [ 3, 4 ], "end": [ 3, 5 ] } }, "summary": "Deleted '2'" }, { "span": { "delete": { "start": [ 4, 2 ], "end": [ 4, 3 ] } }, "summary": "Deleted 'y' identifier" }, { "span": { "delete": { "start": [ 4, 5 ], "end": [ 4, 6 ] } }, "summary": "Deleted '1'" }, { "span": { "delete": { "start": [ 5, 2 ], "end": [ 5, 3 ] } }, "summary": "Deleted 'x' identifier" }, { "span": { "delete": { "start": [ 5, 4 ], "end": [ 5, 5 ] } }, "summary": "Deleted '1'" }, { "span": { "delete": { "start": [ 6, 2 ], "end": [ 6, 3 ] } }, "summary": "Deleted 'd' identifier" }, { "span": { "delete": { "start": [ 6, 4 ], "end": [ 6, 5 ] } }, "summary": "Deleted '1'" }, { "span": { "delete": { "start": [ 6, 6 ], "end": [ 6, 7 ] } }, "summary": "Deleted '2'" }, { "span": { "delete": { "start": [ 7, 2 ], "end": [ 7, 3 ] } }, "summary": "Deleted 'e' identifier" }, { "span": { "delete": { "start": [ 7, 5 ], "end": [ 7, 6 ] } }, "summary": "Deleted '2'" }, { "span": { "delete": { "start": [ 7, 7 ], "end": [ 7, 8 ] } }, "summary": "Deleted '3'" }, { "span": { "delete": { "start": [ 8, 2 ], "end": [ 8, 3 ] } }, "summary": "Deleted 'f' identifier" }, { "span": { "delete": { "start": [ 8, 4 ], "end": [ 8, 5 ] } }, "summary": "Deleted '1'" }, { "span": { "delete": { "start": [ 8, 6 ], "end": [ 8, 7 ] } }, "summary": "Deleted '2'" }, { "span": { "delete": { "start": [ 8, 8 ], "end": [ 8, 9 ] } }, "summary": "Deleted '3'" }, { "span": { "insert": { "start": [ 9, 1 ], "end": [ 9, 2 ] } }, "summary": "Added 'z' identifier" }, { "span": { "insert": { "start": [ 9, 4 ], "end": [ 9, 5 ] } }, "summary": "Added '2'" }, { "span": { "insert": { "start": [ 10, 2 ], "end": [ 10, 3 ] } }, "summary": "Added 'y' identifier" }, { "span": { "insert": { "start": [ 10, 5 ], "end": [ 10, 6 ] } }, "summary": "Added '1'" }, { "span": { "insert": { "start": [ 11, 2 ], "end": [ 11, 3 ] } }, "summary": "Added 'x' identifier" }, { "span": { "insert": { "start": [ 11, 4 ], "end": [ 11, 5 ] } }, "summary": "Added '1'" }, { "span": { "delete": { "start": [ 15, 1 ], "end": [ 15, 2 ] } }, "summary": "Deleted 'a' identifier" }, { "span": { "delete": { "start": [ 15, 3 ], "end": [ 15, 4 ] } }, "summary": "Deleted '1'" }, { "span": { "delete": { "start": [ 16, 2 ], "end": [ 16, 3 ] } }, "summary": "Deleted the 'b' identifier" }, { "span": { "delete": { "start": [ 17, 2 ], "end": [ 17, 3 ] } }, "summary": "Deleted 'c' identifier" }, { "span": { "delete": { "start": [ 17, 4 ], "end": [ 17, 5 ] } }, "summary": "Deleted '1'" } ] }, "errors": {} }, "filePaths": [ "indexing-expressions.go" ], "sha1": "c2eab21985363577dad0d08638c5060ab80a8e25", "gitDir": "test/corpus/repos/go", "sha2": "076c02eb4827aba2c39dc79d8866d1b4136c769e" } ,{ "testCaseDescription": "go-indexing-expressions-delete-test", "expectedResult": { "changes": { "indexing-expressions.go": [ { "span": { "delete": { "start": [ 3, 1 ], "end": [ 3, 2 ] } }, "summary": "Deleted 'a' identifier" }, { "span": { "delete": { "start": [ 3, 3 ], "end": [ 3, 4 ] } }, "summary": "Deleted '1'" }, { "span": { "delete": { "start": [ 4, 2 ], "end": [ 4, 3 ] } }, "summary": "Deleted the 'b' identifier" }, { "span": { "delete": { "start": [ 5, 2 ], "end": [ 5, 3 ] } }, "summary": "Deleted 'c' identifier" }, { "span": { "delete": { "start": [ 5, 4 ], "end": [ 5, 5 ] } }, "summary": "Deleted '1'" }, { "span": { "delete": { "start": [ 6, 2 ], "end": [ 6, 3 ] } }, "summary": "Deleted 'd' identifier" }, { "span": { "delete": { "start": [ 6, 4 ], "end": [ 6, 5 ] } }, "summary": "Deleted '1'" }, { "span": { "delete": { "start": [ 6, 6 ], "end": [ 6, 7 ] } }, "summary": "Deleted '2'" }, { "span": { "delete": { "start": [ 7, 2 ], "end": [ 7, 3 ] } }, "summary": "Deleted 'e' identifier" }, { "span": { "delete": { "start": [ 7, 5 ], "end": [ 7, 6 ] } }, "summary": "Deleted '2'" }, { "span": { "delete": { "start": [ 7, 7 ], "end": [ 7, 8 ] } }, "summary": "Deleted '3'" }, { "span": { "delete": { "start": [ 8, 2 ], "end": [ 8, 3 ] } }, "summary": "Deleted 'f' identifier" }, { "span": { "delete": { "start": [ 8, 4 ], "end": [ 8, 5 ] } }, "summary": "Deleted '1'" }, { "span": { "delete": { "start": [ 8, 6 ], "end": [ 8, 7 ] } }, "summary": "Deleted '2'" }, { "span": { "delete": { "start": [ 8, 8 ], "end": [ 8, 9 ] } }, "summary": "Deleted '3'" } ] }, "errors": {} }, "filePaths": [ "indexing-expressions.go" ], "sha1": "076c02eb4827aba2c39dc79d8866d1b4136c769e", "gitDir": "test/corpus/repos/go", "sha2": "760d60991b3e9d36763fe9115f4162a5b01f40ec" } ,{ "testCaseDescription": "go-indexing-expressions-delete-rest-test", "expectedResult": { "changes": { "indexing-expressions.go": [ { "span": { "replace": [ { "start": [ 1, 1 ], "end": [ 1, 13 ] }, { "start": [ 1, 1 ], "end": [ 3, 1 ] } ] }, "summary": "Replaced 'main' module with 'main' module" } ] }, "errors": {} }, "filePaths": [ "indexing-expressions.go" ], "sha1": "760d60991b3e9d36763fe9115f4162a5b01f40ec", "gitDir": "test/corpus/repos/go", "sha2": "b1669d02e282b6c97db8719b314b3fc45b149496" }]