[{ "testCaseDescription": "go-const-declarations-insert-test", "expectedResult": { "changes": { "const-declarations.go": [ { "span": { "insert": { "start": [ 3, 1 ], "end": [ 3, 15 ] } }, "summary": "Added the 'variable' variable" } ] }, "errors": {} }, "filePaths": [ "const-declarations.go" ], "sha1": "0ea4a11ebabe3d288196e9220f38862a41f22c9b", "gitDir": "test/corpus/repos/go", "sha2": "5214a22d8be6d33b2273c3bdb98d8943d0148157" } ,{ "testCaseDescription": "go-const-declarations-replacement-insert-test", "expectedResult": { "changes": { "const-declarations.go": [ { "span": { "insert": { "start": [ 3, 1 ], "end": [ 3, 22 ] } }, "summary": "Added the 'variable' variable" }, { "span": { "insert": { "start": [ 4, 1 ], "end": [ 4, 15 ] } }, "summary": "Added the 'variable' variable" } ] }, "errors": {} }, "filePaths": [ "const-declarations.go" ], "sha1": "5214a22d8be6d33b2273c3bdb98d8943d0148157", "gitDir": "test/corpus/repos/go", "sha2": "9446173c105e85300d51cbc86fa2ed22d83cd06f" } ,{ "testCaseDescription": "go-const-declarations-delete-insert-test", "expectedResult": { "changes": { "const-declarations.go": [ { "span": { "replace": [ { "start": [ 3, 7 ], "end": [ 3, 10 ] }, { "start": [ 3, 7 ], "end": [ 3, 11 ] } ] }, "summary": "Replaced the 'one' identifier with the 'zero' identifier in the const zero = 0 variable of the 'main' module statement" }, { "span": { "delete": { "start": [ 3, 12 ], "end": [ 3, 15 ] } }, "summary": "Deleted the 'two' identifier in the const zero = 0 variable of the 'main' module statement" }, { "span": { "replace": [ { "start": [ 3, 18 ], "end": [ 3, 19 ] }, { "start": [ 3, 14 ], "end": [ 3, 15 ] } ] }, "summary": "Replaced '1' with '0' in the const zero = 0 variable of the 'main' module statement" }, { "span": { "delete": { "start": [ 3, 21 ], "end": [ 3, 22 ] } }, "summary": "Deleted '2' in the const zero = 0 variable of the 'main' module statement" }, { "span": { "replace": [ { "start": [ 3, 18 ], "end": [ 3, 19 ] }, { "start": [ 3, 14 ], "end": [ 3, 15 ] } ] }, "summary": "Replaced '1' with '0' in the const zero = 0 variable of the 'main' module statement" }, { "span": { "delete": { "start": [ 3, 21 ], "end": [ 3, 22 ] } }, "summary": "Deleted '2' in the const zero = 0 variable of the 'main' module statement" } ] }, "errors": {} }, "filePaths": [ "const-declarations.go" ], "sha1": "9446173c105e85300d51cbc86fa2ed22d83cd06f", "gitDir": "test/corpus/repos/go", "sha2": "320a3e56c67251a5b4e7ae48ed944976d2a6ffe7" } ,{ "testCaseDescription": "go-const-declarations-replacement-test", "expectedResult": { "changes": { "const-declarations.go": [ { "span": { "replace": [ { "start": [ 3, 7 ], "end": [ 3, 11 ] }, { "start": [ 3, 7 ], "end": [ 3, 10 ] } ] }, "summary": "Replaced the 'zero' identifier with the 'one' identifier in the const one, two = 1, 2 variable of the 'main' module statement" }, { "span": { "insert": { "start": [ 3, 12 ], "end": [ 3, 15 ] } }, "summary": "Added the 'two' identifier in the const one, two = 1, 2 variable of the 'main' module statement" }, { "span": { "replace": [ { "start": [ 3, 14 ], "end": [ 3, 15 ] }, { "start": [ 3, 18 ], "end": [ 3, 19 ] } ] }, "summary": "Replaced '0' with '1' in the const one, two = 1, 2 variable of the 'main' module statement" }, { "span": { "insert": { "start": [ 3, 21 ], "end": [ 3, 22 ] } }, "summary": "Added '2' in the const one, two = 1, 2 variable of the 'main' module statement" }, { "span": { "replace": [ { "start": [ 3, 14 ], "end": [ 3, 15 ] }, { "start": [ 3, 18 ], "end": [ 3, 19 ] } ] }, "summary": "Replaced '0' with '1' in the const one, two = 1, 2 variable of the 'main' module statement" }, { "span": { "insert": { "start": [ 3, 21 ], "end": [ 3, 22 ] } }, "summary": "Added '2' in the const one, two = 1, 2 variable of the 'main' module statement" } ] }, "errors": {} }, "filePaths": [ "const-declarations.go" ], "sha1": "320a3e56c67251a5b4e7ae48ed944976d2a6ffe7", "gitDir": "test/corpus/repos/go", "sha2": "8cbf752f440f76d155f7051b8a64b0211edb8b4e" } ,{ "testCaseDescription": "go-const-declarations-delete-replacement-test", "expectedResult": { "changes": { "const-declarations.go": [ { "span": { "delete": { "start": [ 3, 1 ], "end": [ 3, 22 ] } }, "summary": "Deleted the 'variable' variable" }, { "span": { "delete": { "start": [ 4, 1 ], "end": [ 4, 15 ] } }, "summary": "Deleted the 'variable' variable" }, { "span": { "insert": { "start": [ 4, 1 ], "end": [ 4, 22 ] } }, "summary": "Added the 'variable' variable" } ] }, "errors": {} }, "filePaths": [ "const-declarations.go" ], "sha1": "8cbf752f440f76d155f7051b8a64b0211edb8b4e", "gitDir": "test/corpus/repos/go", "sha2": "cf95e8ef84936ada391abb0947309586e141572d" } ,{ "testCaseDescription": "go-const-declarations-delete-test", "expectedResult": { "changes": { "const-declarations.go": [ { "span": { "delete": { "start": [ 3, 1 ], "end": [ 3, 15 ] } }, "summary": "Deleted the 'variable' variable" } ] }, "errors": {} }, "filePaths": [ "const-declarations.go" ], "sha1": "cf95e8ef84936ada391abb0947309586e141572d", "gitDir": "test/corpus/repos/go", "sha2": "26b1f9be1d89e86e8fa32f04e1c29d16b1acd4cc" } ,{ "testCaseDescription": "go-const-declarations-delete-rest-test", "expectedResult": { "changes": { "const-declarations.go": [ { "span": { "delete": { "start": [ 3, 1 ], "end": [ 3, 22 ] } }, "summary": "Deleted the 'variable' variable" } ] }, "errors": {} }, "filePaths": [ "const-declarations.go" ], "sha1": "26b1f9be1d89e86e8fa32f04e1c29d16b1acd4cc", "gitDir": "test/corpus/repos/go", "sha2": "ba3e9a68f92f17e4e3ff26bf0b06d68884e70b60" }]