[{ "testCaseDescription": "go-function-literals-insert-test", "expectedResult": { "changes": { "function-literals.go": [ { "span": { "insert": { "start": [ 3, 1 ], "end": [ 5, 2 ] } }, "summary": "Added the 'variable' variable" } ] }, "errors": {} }, "filePaths": [ "function-literals.go" ], "sha1": "983eb1450c5072209bad90940adbf92b571a9b68", "gitDir": "test/corpus/repos/go", "sha2": "4ea8aeddec41ed4b6b3253549caea239a0ffdeb3" } ,{ "testCaseDescription": "go-function-literals-replacement-insert-test", "expectedResult": { "changes": { "function-literals.go": [ { "span": { "insert": { "start": [ 3, 1 ], "end": [ 5, 2 ] } }, "summary": "Added the 'variable' variable" }, { "span": { "insert": { "start": [ 6, 1 ], "end": [ 8, 2 ] } }, "summary": "Added the 'variable' variable" } ] }, "errors": {} }, "filePaths": [ "function-literals.go" ], "sha1": "4ea8aeddec41ed4b6b3253549caea239a0ffdeb3", "gitDir": "test/corpus/repos/go", "sha2": "5315f0c543b5c7f737e31f0929a8e4dccdfa5387" } ,{ "testCaseDescription": "go-function-literals-delete-insert-test", "expectedResult": { "changes": { "function-literals.go": [ { "span": { "replace": [ { "start": [ 3, 17 ], "end": [ 3, 18 ] }, { "start": [ 3, 17 ], "end": [ 3, 18 ] } ] }, "summary": "Replaced the 'b' identifier with the 's' identifier in the const s1 = func(s string) (int, int) {\nreturn 1, 2\n} variable of the 'main' module statement" }, { "span": { "replace": [ { "start": [ 3, 19 ], "end": [ 3, 22 ] }, { "start": [ 3, 19 ], "end": [ 3, 25 ] } ] }, "summary": "Replaced the 'int' identifier with the 'string' identifier in the const s1 = func(s string) (int, int) {\nreturn 1, 2\n} variable of the 'main' module statement" }, { "span": { "replace": [ { "start": [ 3, 17 ], "end": [ 3, 18 ] }, { "start": [ 3, 17 ], "end": [ 3, 18 ] } ] }, "summary": "Replaced the 'b' identifier with the 's' identifier in the const s1 = func(s string) (int, int) {\nreturn 1, 2\n} variable of the 'main' module statement" }, { "span": { "replace": [ { "start": [ 3, 19 ], "end": [ 3, 22 ] }, { "start": [ 3, 19 ], "end": [ 3, 25 ] } ] }, "summary": "Replaced the 'int' identifier with the 'string' identifier in the const s1 = func(s string) (int, int) {\nreturn 1, 2\n} variable of the 'main' module statement" } ] }, "errors": {} }, "filePaths": [ "function-literals.go" ], "sha1": "5315f0c543b5c7f737e31f0929a8e4dccdfa5387", "gitDir": "test/corpus/repos/go", "sha2": "53ddca1e353c55bf878ea4779d0cd1ef1a663875" } ,{ "testCaseDescription": "go-function-literals-replacement-test", "expectedResult": { "changes": { "function-literals.go": [ { "span": { "replace": [ { "start": [ 3, 17 ], "end": [ 3, 18 ] }, { "start": [ 3, 17 ], "end": [ 3, 18 ] } ] }, "summary": "Replaced the 's' identifier with the 'b' identifier in the const s1 = func(b int) (string, string) {\nreturn 1, 2\n} variable of the 'main' module statement" }, { "span": { "replace": [ { "start": [ 3, 19 ], "end": [ 3, 25 ] }, { "start": [ 3, 19 ], "end": [ 3, 22 ] } ] }, "summary": "Replaced the 'string' identifier with the 'int' identifier in the const s1 = func(b int) (string, string) {\nreturn 1, 2\n} variable of the 'main' module statement" }, { "span": { "replace": [ { "start": [ 3, 17 ], "end": [ 3, 18 ] }, { "start": [ 3, 17 ], "end": [ 3, 18 ] } ] }, "summary": "Replaced the 's' identifier with the 'b' identifier in the const s1 = func(b int) (string, string) {\nreturn 1, 2\n} variable of the 'main' module statement" }, { "span": { "replace": [ { "start": [ 3, 19 ], "end": [ 3, 25 ] }, { "start": [ 3, 19 ], "end": [ 3, 22 ] } ] }, "summary": "Replaced the 'string' identifier with the 'int' identifier in the const s1 = func(b int) (string, string) {\nreturn 1, 2\n} variable of the 'main' module statement" } ] }, "errors": {} }, "filePaths": [ "function-literals.go" ], "sha1": "53ddca1e353c55bf878ea4779d0cd1ef1a663875", "gitDir": "test/corpus/repos/go", "sha2": "780c6d2300b097caf66e08da85ef5881db8488ff" } ,{ "testCaseDescription": "go-function-literals-delete-replacement-test", "expectedResult": { "changes": { "function-literals.go": [ { "span": { "delete": { "start": [ 3, 1 ], "end": [ 5, 2 ] } }, "summary": "Deleted the 'variable' variable" }, { "span": { "delete": { "start": [ 6, 1 ], "end": [ 8, 2 ] } }, "summary": "Deleted the 'variable' variable" }, { "span": { "insert": { "start": [ 6, 1 ], "end": [ 8, 2 ] } }, "summary": "Added the 'variable' variable" } ] }, "errors": {} }, "filePaths": [ "function-literals.go" ], "sha1": "780c6d2300b097caf66e08da85ef5881db8488ff", "gitDir": "test/corpus/repos/go", "sha2": "c0a486ce05740222a11ba3e2ba004ae8250195e7" } ,{ "testCaseDescription": "go-function-literals-delete-test", "expectedResult": { "changes": { "function-literals.go": [ { "span": { "delete": { "start": [ 3, 1 ], "end": [ 5, 2 ] } }, "summary": "Deleted the 'variable' variable" } ] }, "errors": {} }, "filePaths": [ "function-literals.go" ], "sha1": "c0a486ce05740222a11ba3e2ba004ae8250195e7", "gitDir": "test/corpus/repos/go", "sha2": "40858bf6dee1200b6da2da6b63a315adc8f65d3b" } ,{ "testCaseDescription": "go-function-literals-delete-rest-test", "expectedResult": { "changes": { "function-literals.go": [ { "span": { "delete": { "start": [ 3, 1 ], "end": [ 5, 2 ] } }, "summary": "Deleted the 'variable' variable" } ] }, "errors": {} }, "filePaths": [ "function-literals.go" ], "sha1": "40858bf6dee1200b6da2da6b63a315adc8f65d3b", "gitDir": "test/corpus/repos/go", "sha2": "100eca47d63aa29d3554dd95b7a8d4078de39b8a" }]