[{ "testCaseDescription": "ruby-string-insert-test", "expectedResult": { "changes": { "string.rb": [ { "span": { "insert": { "start": [ 1, 1 ], "end": [ 1, 3 ] } }, "summary": "Added the '' string" }, { "span": { "insert": { "start": [ 2, 1 ], "end": [ 2, 17 ] } }, "summary": "Added the 'foo with \"bar\"' string" } ] }, "errors": {} }, "filePaths": [ "string.rb" ], "sha1": "d3dc1c5d59c7ca8b74d565bc8f5a2b70143eab1e", "gitDir": "test/corpus/repos/ruby", "sha2": "9f45c1bb45c253764b49f5e677b62bbf68d33574" } ,{ "testCaseDescription": "ruby-string-replacement-insert-test", "expectedResult": { "changes": { "string.rb": [ { "span": { "insert": { "start": [ 1, 1 ], "end": [ 1, 3 ] } }, "summary": "Added the \"\" string" }, { "span": { "insert": { "start": [ 2, 1 ], "end": [ 2, 17 ] } }, "summary": "Added the \"bar with 'foo'\" string" }, { "span": { "insert": { "start": [ 3, 1 ], "end": [ 3, 3 ] } }, "summary": "Added the '' string" }, { "span": { "insert": { "start": [ 4, 1 ], "end": [ 4, 17 ] } }, "summary": "Added the 'foo with \"bar\"' string" } ] }, "errors": {} }, "filePaths": [ "string.rb" ], "sha1": "9f45c1bb45c253764b49f5e677b62bbf68d33574", "gitDir": "test/corpus/repos/ruby", "sha2": "dc3e6146a102817e93f512e0ee3b173698432b5c" } ,{ "testCaseDescription": "ruby-string-delete-insert-test", "expectedResult": { "changes": { "string.rb": [ { "span": { "replace": [ { "start": [ 1, 1 ], "end": [ 1, 3 ] }, { "start": [ 1, 1 ], "end": [ 1, 3 ] } ] }, "summary": "Replaced the \"\" string with the '' string" }, { "span": { "replace": [ { "start": [ 2, 1 ], "end": [ 2, 17 ] }, { "start": [ 2, 1 ], "end": [ 2, 17 ] } ] }, "summary": "Replaced the \"bar with 'foo'\" string with the 'foo with \"bar\"' string" } ] }, "errors": {} }, "filePaths": [ "string.rb" ], "sha1": "dc3e6146a102817e93f512e0ee3b173698432b5c", "gitDir": "test/corpus/repos/ruby", "sha2": "1cafbd54d38a119892ce99b97d6860aa4c15ce8e" } ,{ "testCaseDescription": "ruby-string-replacement-test", "expectedResult": { "changes": { "string.rb": [ { "span": { "replace": [ { "start": [ 1, 1 ], "end": [ 1, 3 ] }, { "start": [ 1, 1 ], "end": [ 1, 3 ] } ] }, "summary": "Replaced the '' string with the \"\" string" }, { "span": { "replace": [ { "start": [ 2, 1 ], "end": [ 2, 17 ] }, { "start": [ 2, 1 ], "end": [ 2, 17 ] } ] }, "summary": "Replaced the 'foo with \"bar\"' string with the \"bar with 'foo'\" string" } ] }, "errors": {} }, "filePaths": [ "string.rb" ], "sha1": "1cafbd54d38a119892ce99b97d6860aa4c15ce8e", "gitDir": "test/corpus/repos/ruby", "sha2": "62b0e076a21db32b8216971f2ee70aef89bf6d84" } ,{ "testCaseDescription": "ruby-string-delete-replacement-test", "expectedResult": { "changes": { "string.rb": [ { "span": { "delete": { "start": [ 1, 1 ], "end": [ 1, 3 ] } }, "summary": "Deleted the \"\" string" }, { "span": { "delete": { "start": [ 2, 1 ], "end": [ 2, 17 ] } }, "summary": "Deleted the \"bar with 'foo'\" string" }, { "span": { "delete": { "start": [ 3, 1 ], "end": [ 3, 3 ] } }, "summary": "Deleted the '' string" }, { "span": { "delete": { "start": [ 4, 1 ], "end": [ 4, 17 ] } }, "summary": "Deleted the 'foo with \"bar\"' string" }, { "span": { "insert": { "start": [ 3, 1 ], "end": [ 3, 3 ] } }, "summary": "Added the \"\" string" }, { "span": { "insert": { "start": [ 4, 1 ], "end": [ 4, 17 ] } }, "summary": "Added the \"bar with 'foo'\" string" } ] }, "errors": {} }, "filePaths": [ "string.rb" ], "sha1": "62b0e076a21db32b8216971f2ee70aef89bf6d84", "gitDir": "test/corpus/repos/ruby", "sha2": "9b58669534db2f9f7341c58509324f8bc6024953" } ,{ "testCaseDescription": "ruby-string-delete-test", "expectedResult": { "changes": { "string.rb": [ { "span": { "delete": { "start": [ 1, 1 ], "end": [ 1, 3 ] } }, "summary": "Deleted the '' string" }, { "span": { "delete": { "start": [ 2, 1 ], "end": [ 2, 17 ] } }, "summary": "Deleted the 'foo with \"bar\"' string" } ] }, "errors": {} }, "filePaths": [ "string.rb" ], "sha1": "9b58669534db2f9f7341c58509324f8bc6024953", "gitDir": "test/corpus/repos/ruby", "sha2": "1e98ba87d6814edcc5cb76f67da804bc1cebb073" } ,{ "testCaseDescription": "ruby-string-delete-rest-test", "expectedResult": { "changes": { "string.rb": [ { "span": { "delete": { "start": [ 1, 1 ], "end": [ 1, 3 ] } }, "summary": "Deleted the \"\" string" }, { "span": { "delete": { "start": [ 2, 1 ], "end": [ 2, 17 ] } }, "summary": "Deleted the \"bar with 'foo'\" string" } ] }, "errors": {} }, "filePaths": [ "string.rb" ], "sha1": "1e98ba87d6814edcc5cb76f67da804bc1cebb073", "gitDir": "test/corpus/repos/ruby", "sha2": "d5c2dc5099a91a12e3274ac58e7216d6857cba8a" }]