[{ "testCaseDescription": "go-string-literals-setup-test", "expectedResult": { "changes": { "string-literals.go": [ { "span": { "insert": { "start": [ 1, 1 ], "end": [ 6, 1 ] } }, "summary": "Added the 'main' module" } ] }, "errors": {} }, "filePaths": [ "string-literals.go" ], "patch": [ "diff --git a/string-literals.go b/string-literals.go", "index e69de29..7905807 100644", "--- a/string-literals.go", "+++ b/string-literals.go", "@@ -0,0 +1,5 @@", "+package main", "+", "+func main() {", "+", "+}" ], "gitDir": "test/corpus/repos/go", "shas": "7313c98bc1dadd02edefed0e5dac5b0a8d79ae27..217252e5d50d5f8ea963a59d6921f21d8354eabd" } ,{ "testCaseDescription": "go-string-literals-insert-test", "expectedResult": { "changes": {}, "errors": {} }, "filePaths": [ "string-literals.go" ], "patch": [ "diff --git a/string-literals.go b/string-literals.go", "index 7905807..9a69966 100644", "--- a/string-literals.go", "+++ b/string-literals.go", "@@ -1,5 +1,8 @@", " package main", " ", " func main() {", "-", "+const (", "+a = \"0\"", "+b = \"hello world\"", "+)", " }" ], "gitDir": "test/corpus/repos/go", "shas": "217252e5d50d5f8ea963a59d6921f21d8354eabd..b88c5f59726b5d8aaa473e9aab7b4cafe821e264" } ,{ "testCaseDescription": "go-string-literals-replacement-test", "expectedResult": { "changes": {}, "errors": {} }, "filePaths": [ "string-literals.go" ], "patch": [ "diff --git a/string-literals.go b/string-literals.go", "index 9a69966..fbbdb93 100644", "--- a/string-literals.go", "+++ b/string-literals.go", "@@ -2,7 +2,7 @@ package main", " ", " func main() {", " const (", "-a = \"0\"", "-b = \"hello world\"", "+a = \"2\"", "+b = \"hi\"", " )", " }" ], "gitDir": "test/corpus/repos/go", "shas": "b88c5f59726b5d8aaa473e9aab7b4cafe821e264..e961cdb966e795008b52148f8199dafffcdd3d15" } ,{ "testCaseDescription": "go-string-literals-delete-replacement-test", "expectedResult": { "changes": {}, "errors": {} }, "filePaths": [ "string-literals.go" ], "patch": [ "diff --git a/string-literals.go b/string-literals.go", "index fbbdb93..9a69966 100644", "--- a/string-literals.go", "+++ b/string-literals.go", "@@ -2,7 +2,7 @@ package main", " ", " func main() {", " const (", "-a = \"2\"", "-b = \"hi\"", "+a = \"0\"", "+b = \"hello world\"", " )", " }" ], "gitDir": "test/corpus/repos/go", "shas": "e961cdb966e795008b52148f8199dafffcdd3d15..78cf53ac0bcb364ce7640123057d0ac1a7c01d90" } ,{ "testCaseDescription": "go-string-literals-delete-insert-test", "expectedResult": { "changes": {}, "errors": {} }, "filePaths": [ "string-literals.go" ], "patch": [ "diff --git a/string-literals.go b/string-literals.go", "index 9a69966..7905807 100644", "--- a/string-literals.go", "+++ b/string-literals.go", "@@ -1,8 +1,5 @@", " package main", " ", " func main() {", "-const (", "-a = \"0\"", "-b = \"hello world\"", "-)", "+", " }" ], "gitDir": "test/corpus/repos/go", "shas": "78cf53ac0bcb364ce7640123057d0ac1a7c01d90..4b6d4aef29dba70649dd25f6f537f1364c853464" } ,{ "testCaseDescription": "go-string-literals-teardown-test", "expectedResult": { "changes": { "string-literals.go": [ { "span": { "delete": { "start": [ 1, 1 ], "end": [ 6, 1 ] } }, "summary": "Deleted the 'main' module" } ] }, "errors": {} }, "filePaths": [ "string-literals.go" ], "patch": [ "diff --git a/string-literals.go b/string-literals.go", "index 7905807..e69de29 100644", "--- a/string-literals.go", "+++ b/string-literals.go", "@@ -1,5 +0,0 @@", "-package main", "-", "-func main() {", "-", "-}" ], "gitDir": "test/corpus/repos/go", "shas": "4b6d4aef29dba70649dd25f6f537f1364c853464..34ccf43e44945249f16f0e99225d6cea00213df7" }]