[{ "testCaseDescription": "go-send-statements-setup-test", "expectedResult": { "changes": { "send-statements.go": [ { "span": { "insert": { "start": [ 1, 1 ], "end": [ 6, 1 ] } }, "summary": "Added the 'main' module" } ] }, "errors": {} }, "filePaths": [ "send-statements.go" ], "patch": [ "diff --git a/send-statements.go b/send-statements.go", "index e69de29..7905807 100644", "--- a/send-statements.go", "+++ b/send-statements.go", "@@ -0,0 +1,5 @@", "+package main", "+", "+func main() {", "+", "+}" ], "gitDir": "test/corpus/repos/go", "shas": "2dee8498574db7f7d3bf7136a7b619af434d1e22..7dcd5b55323f7e0db2bc4eff4f5efb5d2a47ce30" } ,{ "testCaseDescription": "go-send-statements-insert-test", "expectedResult": { "changes": { "send-statements.go": [ { "span": { "insert": { "start": [ 4, 1 ], "end": [ 4, 4 ] } }, "summary": "Added the 'foo' identifier in the main function of the 'main' module" }, { "span": { "insert": { "start": [ 4, 8 ], "end": [ 4, 9 ] } }, "summary": "Added '5' in the main function of the 'main' module" } ] }, "errors": {} }, "filePaths": [ "send-statements.go" ], "patch": [ "diff --git a/send-statements.go b/send-statements.go", "index 7905807..5f327d1 100644", "--- a/send-statements.go", "+++ b/send-statements.go", "@@ -1,5 +1,5 @@", " package main", " ", " func main() {", "-", "+foo <- 5", " }" ], "gitDir": "test/corpus/repos/go", "shas": "7dcd5b55323f7e0db2bc4eff4f5efb5d2a47ce30..a1ef7190ad8d9fb6daeac7f2c71fa560d7fd05f3" } ,{ "testCaseDescription": "go-send-statements-replacement-test", "expectedResult": { "changes": { "send-statements.go": [ { "span": { "replace": [ { "start": [ 4, 1 ], "end": [ 4, 4 ] }, { "start": [ 4, 1 ], "end": [ 4, 4 ] } ] }, "summary": "Replaced the 'foo' identifier with the 'bar' identifier in the main function of the 'main' module" }, { "span": { "replace": [ { "start": [ 4, 8 ], "end": [ 4, 9 ] }, { "start": [ 4, 8 ], "end": [ 4, 9 ] } ] }, "summary": "Replaced '5' with '6' in the main function of the 'main' module" } ] }, "errors": {} }, "filePaths": [ "send-statements.go" ], "patch": [ "diff --git a/send-statements.go b/send-statements.go", "index 5f327d1..3829478 100644", "--- a/send-statements.go", "+++ b/send-statements.go", "@@ -1,5 +1,5 @@", " package main", " ", " func main() {", "-foo <- 5", "+bar <- 6", " }" ], "gitDir": "test/corpus/repos/go", "shas": "a1ef7190ad8d9fb6daeac7f2c71fa560d7fd05f3..3c3dd246d259e1aa9d9bf187c3d072bc9ec1fff0" } ,{ "testCaseDescription": "go-send-statements-delete-replacement-test", "expectedResult": { "changes": { "send-statements.go": [ { "span": { "replace": [ { "start": [ 4, 1 ], "end": [ 4, 4 ] }, { "start": [ 4, 1 ], "end": [ 4, 4 ] } ] }, "summary": "Replaced the 'bar' identifier with the 'foo' identifier in the main function of the 'main' module" }, { "span": { "replace": [ { "start": [ 4, 8 ], "end": [ 4, 9 ] }, { "start": [ 4, 8 ], "end": [ 4, 9 ] } ] }, "summary": "Replaced '6' with '5' in the main function of the 'main' module" } ] }, "errors": {} }, "filePaths": [ "send-statements.go" ], "patch": [ "diff --git a/send-statements.go b/send-statements.go", "index 3829478..5f327d1 100644", "--- a/send-statements.go", "+++ b/send-statements.go", "@@ -1,5 +1,5 @@", " package main", " ", " func main() {", "-bar <- 6", "+foo <- 5", " }" ], "gitDir": "test/corpus/repos/go", "shas": "3c3dd246d259e1aa9d9bf187c3d072bc9ec1fff0..40599849d1457a7faa5994a93c18ff67fce9e29e" } ,{ "testCaseDescription": "go-send-statements-delete-insert-test", "expectedResult": { "changes": { "send-statements.go": [ { "span": { "delete": { "start": [ 4, 1 ], "end": [ 4, 4 ] } }, "summary": "Deleted the 'foo' identifier in the main function of the 'main' module" }, { "span": { "delete": { "start": [ 4, 8 ], "end": [ 4, 9 ] } }, "summary": "Deleted '5' in the main function of the 'main' module" } ] }, "errors": {} }, "filePaths": [ "send-statements.go" ], "patch": [ "diff --git a/send-statements.go b/send-statements.go", "index 5f327d1..7905807 100644", "--- a/send-statements.go", "+++ b/send-statements.go", "@@ -1,5 +1,5 @@", " package main", " ", " func main() {", "-foo <- 5", "+", " }" ], "gitDir": "test/corpus/repos/go", "shas": "40599849d1457a7faa5994a93c18ff67fce9e29e..1a6ee3078f3ab21682f884e9c3267fe7fefca562" } ,{ "testCaseDescription": "go-send-statements-teardown-test", "expectedResult": { "changes": { "send-statements.go": [ { "span": { "delete": { "start": [ 1, 1 ], "end": [ 6, 1 ] } }, "summary": "Deleted the 'main' module" } ] }, "errors": {} }, "filePaths": [ "send-statements.go" ], "patch": [ "diff --git a/send-statements.go b/send-statements.go", "index 7905807..e69de29 100644", "--- a/send-statements.go", "+++ b/send-statements.go", "@@ -1,5 +0,0 @@", "-package main", "-", "-func main() {", "-", "-}" ], "gitDir": "test/corpus/repos/go", "shas": "1a6ee3078f3ab21682f884e9c3267fe7fefca562..afa7d3d1ac0bd60a48ad041d9bfb13ea85216aec" }]