[{ "testCaseDescription": "go-array-with-implicit-length-setup-test", "expectedResult": { "changes": { "array-with-implicit-length.go": [ { "span": { "insert": { "start": [ 1, 1 ], "end": [ 6, 1 ] } }, "summary": "Added the 'main' module" } ] }, "errors": {} }, "filePaths": [ "array-with-implicit-length.go" ], "patch": [ "diff --git a/array-with-implicit-length.go b/array-with-implicit-length.go", "index e69de29..7905807 100644", "--- a/array-with-implicit-length.go", "+++ b/array-with-implicit-length.go", "@@ -0,0 +1,5 @@", "+package main", "+", "+func main() {", "+", "+}" ], "gitDir": "test/corpus/repos/go", "shas": "d1850e2cc613a054bd9d4f256e1e59f0194e9784..b8de63d71918cc11d3446cf7d12b6146f83d5d4b" } ,{ "testCaseDescription": "go-array-with-implicit-length-insert-test", "expectedResult": { "changes": {}, "errors": {} }, "filePaths": [ "array-with-implicit-length.go" ], "patch": [ "diff --git a/array-with-implicit-length.go b/array-with-implicit-length.go", "index 7905807..a53dc8c 100644", "--- a/array-with-implicit-length.go", "+++ b/array-with-implicit-length.go", "@@ -1,5 +1,5 @@", " package main", " ", " func main() {", "-", "+const a1 = [...]int{1, 2, 3}", " }" ], "gitDir": "test/corpus/repos/go", "shas": "b8de63d71918cc11d3446cf7d12b6146f83d5d4b..0ccdfa8446fee234cdb7fd60e945949166cf6bbf" } ,{ "testCaseDescription": "go-array-with-implicit-length-replacement-test", "expectedResult": { "changes": {}, "errors": {} }, "filePaths": [ "array-with-implicit-length.go" ], "patch": [ "diff --git a/array-with-implicit-length.go b/array-with-implicit-length.go", "index a53dc8c..e9e3d08 100644", "--- a/array-with-implicit-length.go", "+++ b/array-with-implicit-length.go", "@@ -1,5 +1,5 @@", " package main", " ", " func main() {", "-const a1 = [...]int{1, 2, 3}", "+const a1 = [...]int{4,5,6}", " }" ], "gitDir": "test/corpus/repos/go", "shas": "0ccdfa8446fee234cdb7fd60e945949166cf6bbf..d69b71ccb41cd4955b8c5fad11de9e46e440426d" } ,{ "testCaseDescription": "go-array-with-implicit-length-delete-replacement-test", "expectedResult": { "changes": {}, "errors": {} }, "filePaths": [ "array-with-implicit-length.go" ], "patch": [ "diff --git a/array-with-implicit-length.go b/array-with-implicit-length.go", "index e9e3d08..a53dc8c 100644", "--- a/array-with-implicit-length.go", "+++ b/array-with-implicit-length.go", "@@ -1,5 +1,5 @@", " package main", " ", " func main() {", "-const a1 = [...]int{4,5,6}", "+const a1 = [...]int{1, 2, 3}", " }" ], "gitDir": "test/corpus/repos/go", "shas": "d69b71ccb41cd4955b8c5fad11de9e46e440426d..1771e28cec2be2ce0292fc6d9a5e6d7decbf6cb2" } ,{ "testCaseDescription": "go-array-with-implicit-length-delete-insert-test", "expectedResult": { "changes": {}, "errors": {} }, "filePaths": [ "array-with-implicit-length.go" ], "patch": [ "diff --git a/array-with-implicit-length.go b/array-with-implicit-length.go", "index a53dc8c..7905807 100644", "--- a/array-with-implicit-length.go", "+++ b/array-with-implicit-length.go", "@@ -1,5 +1,5 @@", " package main", " ", " func main() {", "-const a1 = [...]int{1, 2, 3}", "+", " }" ], "gitDir": "test/corpus/repos/go", "shas": "1771e28cec2be2ce0292fc6d9a5e6d7decbf6cb2..be64295ae1d52a1b9c22ebc45f4138e00921a944" } ,{ "testCaseDescription": "go-array-with-implicit-length-teardown-test", "expectedResult": { "changes": { "array-with-implicit-length.go": [ { "span": { "delete": { "start": [ 1, 1 ], "end": [ 6, 1 ] } }, "summary": "Deleted the 'main' module" } ] }, "errors": {} }, "filePaths": [ "array-with-implicit-length.go" ], "patch": [ "diff --git a/array-with-implicit-length.go b/array-with-implicit-length.go", "index 7905807..e69de29 100644", "--- a/array-with-implicit-length.go", "+++ b/array-with-implicit-length.go", "@@ -1,5 +0,0 @@", "-package main", "-", "-func main() {", "-", "-}" ], "gitDir": "test/corpus/repos/go", "shas": "be64295ae1d52a1b9c22ebc45f4138e00921a944..b8fc38a2567c3bc61d152e63b8a09cd5f44361b4" }]