[{ "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": "4128e7e296595bf11c0915a6a3978af218e3ea62", "gitDir": "test/corpus/repos/go", "sha2": "49b16fe8b6af6f5fdc760b90dffd727cf7ee9def" } ,{ "testCaseDescription": "go-if-statements-replacement-insert-test", "expectedResult": { "changes": { "if-statements.go": [ { "span": { "insert": { "start": [ 3, 1 ], "end": [ 5, 2 ] } }, "summary": "Added the 'x()' if statement" }, { "span": { "insert": { "start": [ 6, 1 ], "end": [ 8, 2 ] } }, "summary": "Added the 'y := b(); c' if statement" }, { "span": { "insert": { "start": [ 9, 1 ], "end": [ 13, 2 ] } }, "summary": "Added the 'z()' if statement" }, { "span": { "insert": { "start": [ 14, 1 ], "end": [ 16, 2 ] } }, "summary": "Added the 'a()' if statement" }, { "span": { "insert": { "start": [ 17, 1 ], "end": [ 19, 2 ] } }, "summary": "Added the 'a := b(); c' if statement" }, { "span": { "insert": { "start": [ 20, 1 ], "end": [ 24, 2 ] } }, "summary": "Added the 'a()' if statement" } ] }, "errors": {} }, "filePaths": [ "if-statements.go" ], "sha1": "49b16fe8b6af6f5fdc760b90dffd727cf7ee9def", "gitDir": "test/corpus/repos/go", "sha2": "bfe67f8736de7ff8ae2552fa4e1406a9a8037f2e" } ,{ "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 in the a variable" }, { "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": "bfe67f8736de7ff8ae2552fa4e1406a9a8037f2e", "gitDir": "test/corpus/repos/go", "sha2": "c080835d512a35a81cc092e00a21d9291a0e6394" } ,{ "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 in the y variable" }, { "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": "c080835d512a35a81cc092e00a21d9291a0e6394", "gitDir": "test/corpus/repos/go", "sha2": "b49898e65dfb80683e1aacf3b077355c71514fa4" } ,{ "testCaseDescription": "go-if-statements-delete-replacement-test", "expectedResult": { "changes": { "if-statements.go": [ { "span": { "delete": { "start": [ 3, 1 ], "end": [ 5, 2 ] } }, "summary": "Deleted the 'x()' if statement" }, { "span": { "delete": { "start": [ 6, 1 ], "end": [ 8, 2 ] } }, "summary": "Deleted the 'y := b(); c' if statement" }, { "span": { "delete": { "start": [ 9, 1 ], "end": [ 13, 2 ] } }, "summary": "Deleted the 'z()' if statement" }, { "span": { "delete": { "start": [ 14, 1 ], "end": [ 16, 2 ] } }, "summary": "Deleted the 'a()' if statement" }, { "span": { "delete": { "start": [ 17, 1 ], "end": [ 19, 2 ] } }, "summary": "Deleted the 'a := b(); c' if statement" }, { "span": { "delete": { "start": [ 20, 1 ], "end": [ 24, 2 ] } }, "summary": "Deleted the 'a()' if statement" }, { "span": { "insert": { "start": [ 14, 1 ], "end": [ 16, 2 ] } }, "summary": "Added the 'x()' if statement" }, { "span": { "insert": { "start": [ 17, 1 ], "end": [ 19, 2 ] } }, "summary": "Added the 'y := b(); c' if statement" }, { "span": { "insert": { "start": [ 20, 1 ], "end": [ 24, 2 ] } }, "summary": "Added the 'z()' if statement" } ] }, "errors": {} }, "filePaths": [ "if-statements.go" ], "sha1": "b49898e65dfb80683e1aacf3b077355c71514fa4", "gitDir": "test/corpus/repos/go", "sha2": "75cd5fc9f9296198f8a67b4968d2fc7b949ad465" } ,{ "testCaseDescription": "go-if-statements-delete-test", "expectedResult": { "changes": { "if-statements.go": [ { "span": { "delete": { "start": [ 3, 1 ], "end": [ 5, 2 ] } }, "summary": "Deleted the 'a()' if statement" }, { "span": { "delete": { "start": [ 6, 1 ], "end": [ 8, 2 ] } }, "summary": "Deleted the 'a := b(); c' if statement" }, { "span": { "delete": { "start": [ 9, 1 ], "end": [ 13, 2 ] } }, "summary": "Deleted the 'a()' if statement" } ] }, "errors": {} }, "filePaths": [ "if-statements.go" ], "sha1": "75cd5fc9f9296198f8a67b4968d2fc7b949ad465", "gitDir": "test/corpus/repos/go", "sha2": "03bac065b5dadaa7a4c58b1620628b8eda06863e" } ,{ "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": "03bac065b5dadaa7a4c58b1620628b8eda06863e", "gitDir": "test/corpus/repos/go", "sha2": "9b0fccd745d435122985bb05011520d7d01598f7" }]