[{ "testCaseDescription": "ruby-multiple-assignments-insert-test", "expectedResult": { "changes": { "multiple-assignments.rb": [ { "span": { "insert": { "start": [ 1, 1 ], "end": [ 1, 23 ] } }, "summary": "Added the 'identifier' assignment" } ] }, "errors": {} }, "filePaths": [ "multiple-assignments.rb" ], "patch": [ "diff --git a/multiple-assignments.rb b/multiple-assignments.rb", "index e69de29..348cf74 100644", "--- a/multiple-assignments.rb", "+++ b/multiple-assignments.rb", "@@ -0,0 +1 @@", "+x, y, z = [10, 20, 30]" ], "gitDir": "test/corpus/repos/ruby", "shas": "a966f9b2783f127617cc42cbed16e6ec570b75ad..850232b2802cc99838c38bb6884e78c8675d900d" } ,{ "testCaseDescription": "ruby-multiple-assignments-replacement-insert-test", "expectedResult": { "changes": { "multiple-assignments.rb": [ { "span": { "insert": { "start": [ 1, 1 ], "end": [ 1, 21 ] } }, "summary": "Added the 'identifier' assignment" }, { "span": { "insert": { "start": [ 2, 1 ], "end": [ 2, 23 ] } }, "summary": "Added the 'identifier' assignment" } ] }, "errors": {} }, "filePaths": [ "multiple-assignments.rb" ], "patch": [ "diff --git a/multiple-assignments.rb b/multiple-assignments.rb", "index 348cf74..242315a 100644", "--- a/multiple-assignments.rb", "+++ b/multiple-assignments.rb", "@@ -1 +1,3 @@", "+x, *y = [10, 20, 30]", "+x, y, z = [10, 20, 30]", " x, y, z = [10, 20, 30]" ], "gitDir": "test/corpus/repos/ruby", "shas": "850232b2802cc99838c38bb6884e78c8675d900d..2f0556416a97d736bf681a377c0a17ad20fe03a1" } ,{ "testCaseDescription": "ruby-multiple-assignments-delete-insert-test", "expectedResult": { "changes": { "multiple-assignments.rb": [ { "span": { "insert": { "start": [ 1, 4 ], "end": [ 1, 5 ] } }, "summary": "Added the 'y' identifier in an assignment to identifier" }, { "span": { "insert": { "start": [ 1, 7 ], "end": [ 1, 8 ] } }, "summary": "Added the 'z' identifier in an assignment to identifier" }, { "span": { "delete": { "start": [ 1, 5 ], "end": [ 1, 6 ] } }, "summary": "Deleted the 'y' identifier in an assignment to identifier" } ] }, "errors": {} }, "filePaths": [ "multiple-assignments.rb" ], "patch": [ "diff --git a/multiple-assignments.rb b/multiple-assignments.rb", "index 242315a..274faf2 100644", "--- a/multiple-assignments.rb", "+++ b/multiple-assignments.rb", "@@ -1,3 +1,3 @@", "-x, *y = [10, 20, 30]", "+x, y, z = [10, 20, 30]", " x, y, z = [10, 20, 30]", " x, y, z = [10, 20, 30]" ], "gitDir": "test/corpus/repos/ruby", "shas": "2f0556416a97d736bf681a377c0a17ad20fe03a1..4cf32e342e860dec68b496ba04ed8fca1d04a08f" } ,{ "testCaseDescription": "ruby-multiple-assignments-replacement-test", "expectedResult": { "changes": { "multiple-assignments.rb": [ { "span": { "insert": { "start": [ 1, 5 ], "end": [ 1, 6 ] } }, "summary": "Added the 'y' identifier in an assignment to identifier" }, { "span": { "delete": { "start": [ 1, 4 ], "end": [ 1, 5 ] } }, "summary": "Deleted the 'y' identifier in an assignment to identifier" }, { "span": { "delete": { "start": [ 1, 7 ], "end": [ 1, 8 ] } }, "summary": "Deleted the 'z' identifier in an assignment to identifier" } ] }, "errors": {} }, "filePaths": [ "multiple-assignments.rb" ], "patch": [ "diff --git a/multiple-assignments.rb b/multiple-assignments.rb", "index 274faf2..242315a 100644", "--- a/multiple-assignments.rb", "+++ b/multiple-assignments.rb", "@@ -1,3 +1,3 @@", "-x, y, z = [10, 20, 30]", "+x, *y = [10, 20, 30]", " x, y, z = [10, 20, 30]", " x, y, z = [10, 20, 30]" ], "gitDir": "test/corpus/repos/ruby", "shas": "4cf32e342e860dec68b496ba04ed8fca1d04a08f..3d3c3f2b1d6ed385e8c69eb0de5f5db36abd1f93" } ,{ "testCaseDescription": "ruby-multiple-assignments-delete-replacement-test", "expectedResult": { "changes": { "multiple-assignments.rb": [ { "span": { "delete": { "start": [ 1, 1 ], "end": [ 1, 21 ] } }, "summary": "Deleted the 'identifier' assignment" }, { "span": { "delete": { "start": [ 2, 1 ], "end": [ 2, 23 ] } }, "summary": "Deleted the 'identifier' assignment" }, { "span": { "insert": { "start": [ 2, 1 ], "end": [ 2, 21 ] } }, "summary": "Added the 'identifier' assignment" } ] }, "errors": {} }, "filePaths": [ "multiple-assignments.rb" ], "patch": [ "diff --git a/multiple-assignments.rb b/multiple-assignments.rb", "index 242315a..7ba9487 100644", "--- a/multiple-assignments.rb", "+++ b/multiple-assignments.rb", "@@ -1,3 +1,2 @@", "-x, *y = [10, 20, 30]", "-x, y, z = [10, 20, 30]", " x, y, z = [10, 20, 30]", "+x, *y = [10, 20, 30]" ], "gitDir": "test/corpus/repos/ruby", "shas": "3d3c3f2b1d6ed385e8c69eb0de5f5db36abd1f93..b724179373843cb5f953b1eb84fe3cf1f787cae1" } ,{ "testCaseDescription": "ruby-multiple-assignments-delete-test", "expectedResult": { "changes": { "multiple-assignments.rb": [ { "span": { "delete": { "start": [ 1, 1 ], "end": [ 1, 23 ] } }, "summary": "Deleted the 'identifier' assignment" } ] }, "errors": {} }, "filePaths": [ "multiple-assignments.rb" ], "patch": [ "diff --git a/multiple-assignments.rb b/multiple-assignments.rb", "index 7ba9487..32cf6a2 100644", "--- a/multiple-assignments.rb", "+++ b/multiple-assignments.rb", "@@ -1,2 +1 @@", "-x, y, z = [10, 20, 30]", " x, *y = [10, 20, 30]" ], "gitDir": "test/corpus/repos/ruby", "shas": "b724179373843cb5f953b1eb84fe3cf1f787cae1..9470930d6fca5e33ec313863fbe1c443d7388dbe" } ,{ "testCaseDescription": "ruby-multiple-assignments-delete-rest-test", "expectedResult": { "changes": { "multiple-assignments.rb": [ { "span": { "delete": { "start": [ 1, 1 ], "end": [ 1, 21 ] } }, "summary": "Deleted the 'identifier' assignment" } ] }, "errors": {} }, "filePaths": [ "multiple-assignments.rb" ], "patch": [ "diff --git a/multiple-assignments.rb b/multiple-assignments.rb", "index 32cf6a2..e69de29 100644", "--- a/multiple-assignments.rb", "+++ b/multiple-assignments.rb", "@@ -1 +0,0 @@", "-x, *y = [10, 20, 30]" ], "gitDir": "test/corpus/repos/ruby", "shas": "9470930d6fca5e33ec313863fbe1c443d7388dbe..d4996909ad6798a66c5242d7171125ce6dbe1a50" }]