[{ "testCaseDescription": "go-unary-expressions-setup-test", "expectedResult": { "changes": { "unary-expressions.go": [ { "span": { "insert": { "start": [ 1, 1 ], "end": [ 6, 1 ] } }, "summary": "Added the 'main' module" } ] }, "errors": {} }, "filePaths": [ "unary-expressions.go" ], "patch": [ "diff --git a/unary-expressions.go b/unary-expressions.go", "index e69de29..7905807 100644", "--- a/unary-expressions.go", "+++ b/unary-expressions.go", "@@ -0,0 +1,5 @@", "+package main", "+", "+func main() {", "+", "+}" ], "gitDir": "test/corpus/repos/go", "shas": "ee19f7de19be7d51c928c474f3b81b70b8553aee..3a65f6b3c33b2eb7de3e96986e063cbc812bec32" } ,{ "testCaseDescription": "go-unary-expressions-insert-test", "expectedResult": { "changes": { "unary-expressions.go": [ { "span": { "insert": { "start": [ 4, 4 ], "end": [ 4, 5 ] } }, "summary": "Added the 'a' identifier in the main function of the 'main' module" }, { "span": { "insert": { "start": [ 5, 2 ], "end": [ 5, 7 ] } }, "summary": "Added the 'foo()' function call in the main function of the 'main' module" } ] }, "errors": {} }, "filePaths": [ "unary-expressions.go" ], "patch": [ "diff --git a/unary-expressions.go b/unary-expressions.go", "index 7905807..bdf9ccc 100644", "--- a/unary-expressions.go", "+++ b/unary-expressions.go", "@@ -1,5 +1,6 @@", " package main", " ", " func main() {", "-", "+!<-a", "+*foo()", " }" ], "gitDir": "test/corpus/repos/go", "shas": "3a65f6b3c33b2eb7de3e96986e063cbc812bec32..69d85ee0c41225edd38f6a7d26069ccad3dd963b" } ,{ "testCaseDescription": "go-unary-expressions-replacement-test", "expectedResult": { "changes": { "unary-expressions.go": [ { "span": { "replace": [ { "start": [ 4, 4 ], "end": [ 4, 5 ] }, { "start": [ 4, 4 ], "end": [ 4, 5 ] } ] }, "summary": "Replaced the 'a' identifier with the 'b' identifier in the main function of the 'main' module" }, { "span": { "replace": [ { "start": [ 5, 2 ], "end": [ 5, 5 ] }, { "start": [ 5, 2 ], "end": [ 5, 5 ] } ] }, "summary": "Replaced the 'foo' identifier with the 'bar' identifier in the bar() function call of the 'main' function" } ] }, "errors": {} }, "filePaths": [ "unary-expressions.go" ], "patch": [ "diff --git a/unary-expressions.go b/unary-expressions.go", "index bdf9ccc..cf8ed88 100644", "--- a/unary-expressions.go", "+++ b/unary-expressions.go", "@@ -1,6 +1,6 @@", " package main", " ", " func main() {", "-!<-a", "-*foo()", "+!<-b", "+*bar()", " }" ], "gitDir": "test/corpus/repos/go", "shas": "69d85ee0c41225edd38f6a7d26069ccad3dd963b..9cc895fd49cb234547b47d291153e2fb3086da49" } ,{ "testCaseDescription": "go-unary-expressions-delete-replacement-test", "expectedResult": { "changes": { "unary-expressions.go": [ { "span": { "replace": [ { "start": [ 4, 4 ], "end": [ 4, 5 ] }, { "start": [ 4, 4 ], "end": [ 4, 5 ] } ] }, "summary": "Replaced the 'b' identifier with the 'a' identifier in the main function of the 'main' module" }, { "span": { "replace": [ { "start": [ 5, 2 ], "end": [ 5, 5 ] }, { "start": [ 5, 2 ], "end": [ 5, 5 ] } ] }, "summary": "Replaced the 'bar' identifier with the 'foo' identifier in the foo() function call of the 'main' function" } ] }, "errors": {} }, "filePaths": [ "unary-expressions.go" ], "patch": [ "diff --git a/unary-expressions.go b/unary-expressions.go", "index cf8ed88..bdf9ccc 100644", "--- a/unary-expressions.go", "+++ b/unary-expressions.go", "@@ -1,6 +1,6 @@", " package main", " ", " func main() {", "-!<-b", "-*bar()", "+!<-a", "+*foo()", " }" ], "gitDir": "test/corpus/repos/go", "shas": "9cc895fd49cb234547b47d291153e2fb3086da49..65f227311a5c0558997d6ed1fe0300787bb93ec1" } ,{ "testCaseDescription": "go-unary-expressions-delete-insert-test", "expectedResult": { "changes": { "unary-expressions.go": [ { "span": { "delete": { "start": [ 4, 4 ], "end": [ 4, 5 ] } }, "summary": "Deleted the 'a' identifier in the main function of the 'main' module" }, { "span": { "delete": { "start": [ 5, 2 ], "end": [ 5, 7 ] } }, "summary": "Deleted the 'foo()' function call in the main function of the 'main' module" } ] }, "errors": {} }, "filePaths": [ "unary-expressions.go" ], "patch": [ "diff --git a/unary-expressions.go b/unary-expressions.go", "index bdf9ccc..7905807 100644", "--- a/unary-expressions.go", "+++ b/unary-expressions.go", "@@ -1,6 +1,5 @@", " package main", " ", " func main() {", "-!<-a", "-*foo()", "+", " }" ], "gitDir": "test/corpus/repos/go", "shas": "65f227311a5c0558997d6ed1fe0300787bb93ec1..6a8f8d53a8e39c88565e19140c5164ad64da2d60" } ,{ "testCaseDescription": "go-unary-expressions-teardown-test", "expectedResult": { "changes": { "unary-expressions.go": [ { "span": { "delete": { "start": [ 1, 1 ], "end": [ 6, 1 ] } }, "summary": "Deleted the 'main' module" } ] }, "errors": {} }, "filePaths": [ "unary-expressions.go" ], "patch": [ "diff --git a/unary-expressions.go b/unary-expressions.go", "index 7905807..e69de29 100644", "--- a/unary-expressions.go", "+++ b/unary-expressions.go", "@@ -1,5 +0,0 @@", "-package main", "-", "-func main() {", "-", "-}" ], "gitDir": "test/corpus/repos/go", "shas": "6a8f8d53a8e39c88565e19140c5164ad64da2d60..dd0faf278b4174087a89ec3a3d0c4e724e2db856" }]