[{ "testCaseDescription": "go-imaginary-literals-setup-test", "expectedResult": { "changes": { "imaginary-literals.go": [ { "span": { "insert": { "start": [ 1, 1 ], "end": [ 6, 1 ] } }, "summary": "Added the 'main' module" } ] }, "errors": {} }, "filePaths": [ "imaginary-literals.go" ], "patch": [ "diff --git a/imaginary-literals.go b/imaginary-literals.go", "index e69de29..7905807 100644", "--- a/imaginary-literals.go", "+++ b/imaginary-literals.go", "@@ -0,0 +1,5 @@", "+package main", "+", "+func main() {", "+", "+}" ], "gitDir": "test/corpus/repos/go", "shas": "c6e11cb46b1defca8bc21c168d5345d1bca754c0..ebba121e734bf9df36251a4b4b018e5dde73f43c" } ,{ "testCaseDescription": "go-imaginary-literals-insert-test", "expectedResult": { "changes": {}, "errors": {} }, "filePaths": [ "imaginary-literals.go" ], "patch": [ "diff --git a/imaginary-literals.go b/imaginary-literals.go", "index 7905807..25a97da 100644", "--- a/imaginary-literals.go", "+++ b/imaginary-literals.go", "@@ -1,5 +1,8 @@", " package main", " ", " func main() {", "-", "+const (", "+a = 01i", "+b = 1.e+100i", "+)", " }" ], "gitDir": "test/corpus/repos/go", "shas": "ebba121e734bf9df36251a4b4b018e5dde73f43c..0cd10df9cf0bff0c8853ecf7f79d97d7633e302e" } ,{ "testCaseDescription": "go-imaginary-literals-replacement-test", "expectedResult": { "changes": {}, "errors": {} }, "filePaths": [ "imaginary-literals.go" ], "patch": [ "diff --git a/imaginary-literals.go b/imaginary-literals.go", "index 25a97da..151a533 100644", "--- a/imaginary-literals.go", "+++ b/imaginary-literals.go", "@@ -2,7 +2,7 @@ package main", " ", " func main() {", " const (", "-a = 01i", "-b = 1.e+100i", "+a = 02i", "+b = 1.e+103i", " )", " }" ], "gitDir": "test/corpus/repos/go", "shas": "0cd10df9cf0bff0c8853ecf7f79d97d7633e302e..8a65283384def8640e685bf867d953b4f0dbdf38" } ,{ "testCaseDescription": "go-imaginary-literals-delete-replacement-test", "expectedResult": { "changes": {}, "errors": {} }, "filePaths": [ "imaginary-literals.go" ], "patch": [ "diff --git a/imaginary-literals.go b/imaginary-literals.go", "index 151a533..25a97da 100644", "--- a/imaginary-literals.go", "+++ b/imaginary-literals.go", "@@ -2,7 +2,7 @@ package main", " ", " func main() {", " const (", "-a = 02i", "-b = 1.e+103i", "+a = 01i", "+b = 1.e+100i", " )", " }" ], "gitDir": "test/corpus/repos/go", "shas": "8a65283384def8640e685bf867d953b4f0dbdf38..924b64778645ca07840662611cecdf9a72021d11" } ,{ "testCaseDescription": "go-imaginary-literals-delete-insert-test", "expectedResult": { "changes": {}, "errors": {} }, "filePaths": [ "imaginary-literals.go" ], "patch": [ "diff --git a/imaginary-literals.go b/imaginary-literals.go", "index 25a97da..7905807 100644", "--- a/imaginary-literals.go", "+++ b/imaginary-literals.go", "@@ -1,8 +1,5 @@", " package main", " ", " func main() {", "-const (", "-a = 01i", "-b = 1.e+100i", "-)", "+", " }" ], "gitDir": "test/corpus/repos/go", "shas": "924b64778645ca07840662611cecdf9a72021d11..340e9d0364cbabc49d38f9f47114e805440412a1" } ,{ "testCaseDescription": "go-imaginary-literals-teardown-test", "expectedResult": { "changes": { "imaginary-literals.go": [ { "span": { "delete": { "start": [ 1, 1 ], "end": [ 6, 1 ] } }, "summary": "Deleted the 'main' module" } ] }, "errors": {} }, "filePaths": [ "imaginary-literals.go" ], "patch": [ "diff --git a/imaginary-literals.go b/imaginary-literals.go", "index 7905807..e69de29 100644", "--- a/imaginary-literals.go", "+++ b/imaginary-literals.go", "@@ -1,5 +0,0 @@", "-package main", "-", "-func main() {", "-", "-}" ], "gitDir": "test/corpus/repos/go", "shas": "340e9d0364cbabc49d38f9f47114e805440412a1..af43175aa1ae51c7f1760a8d2e73eb14fb55b258" }]