[{ "testCaseDescription": "ruby-scope-operator-insert-test", "expectedResult": { "changes": { "scope-operator.rb": [ { "span": { "insert": { "start": [ 1, 1 ], "end": [ 1, 9 ] } }, "summary": "Added the 'Foo::bar' scope operator" } ] }, "errors": {} }, "filePaths": [ "scope-operator.rb" ], "patch": [ "diff --git a/scope-operator.rb b/scope-operator.rb", "index e69de29..4e91ae2 100644", "--- a/scope-operator.rb", "+++ b/scope-operator.rb", "@@ -0,0 +1 @@", "+Foo::bar" ], "gitDir": "test/corpus/repos/ruby", "shas": "726c5239209936067e3f6dffc02450605d2658b4..d090b4ff26e85348c9f78dff449410f6a09f33b1" } ,{ "testCaseDescription": "ruby-scope-operator-replacement-insert-test", "expectedResult": { "changes": { "scope-operator.rb": [ { "span": { "insert": { "start": [ 1, 1 ], "end": [ 1, 6 ] } }, "summary": "Added the '::Bar' scope operator" }, { "span": { "insert": { "start": [ 2, 1 ], "end": [ 2, 9 ] } }, "summary": "Added the 'Foo::bar' scope operator" } ] }, "errors": {} }, "filePaths": [ "scope-operator.rb" ], "patch": [ "diff --git a/scope-operator.rb b/scope-operator.rb", "index 4e91ae2..2b0b854 100644", "--- a/scope-operator.rb", "+++ b/scope-operator.rb", "@@ -1 +1,3 @@", "+::Bar", "+Foo::bar", " Foo::bar" ], "gitDir": "test/corpus/repos/ruby", "shas": "d090b4ff26e85348c9f78dff449410f6a09f33b1..ba0ac82e58709ff07d2644ba9a303fb8081554b0" } ,{ "testCaseDescription": "ruby-scope-operator-delete-insert-test", "expectedResult": { "changes": { "scope-operator.rb": [ { "span": { "replace": [ { "start": [ 1, 1 ], "end": [ 1, 6 ] }, { "start": [ 1, 1 ], "end": [ 1, 9 ] } ] }, "summary": "Replaced the '::Bar' scope operator with the 'Foo::bar' scope operator" } ] }, "errors": {} }, "filePaths": [ "scope-operator.rb" ], "patch": [ "diff --git a/scope-operator.rb b/scope-operator.rb", "index 2b0b854..1370e7e 100644", "--- a/scope-operator.rb", "+++ b/scope-operator.rb", "@@ -1,3 +1,3 @@", "-::Bar", "+Foo::bar", " Foo::bar", " Foo::bar" ], "gitDir": "test/corpus/repos/ruby", "shas": "ba0ac82e58709ff07d2644ba9a303fb8081554b0..3f5ce37d91641be96445be63e12cf533327beb08" } ,{ "testCaseDescription": "ruby-scope-operator-replacement-test", "expectedResult": { "changes": { "scope-operator.rb": [ { "span": { "replace": [ { "start": [ 1, 1 ], "end": [ 1, 9 ] }, { "start": [ 1, 1 ], "end": [ 1, 6 ] } ] }, "summary": "Replaced the 'Foo::bar' scope operator with the '::Bar' scope operator" } ] }, "errors": {} }, "filePaths": [ "scope-operator.rb" ], "patch": [ "diff --git a/scope-operator.rb b/scope-operator.rb", "index 1370e7e..2b0b854 100644", "--- a/scope-operator.rb", "+++ b/scope-operator.rb", "@@ -1,3 +1,3 @@", "-Foo::bar", "+::Bar", " Foo::bar", " Foo::bar" ], "gitDir": "test/corpus/repos/ruby", "shas": "3f5ce37d91641be96445be63e12cf533327beb08..d435ce09f97187b196c19d0dc0c2528175dc2725" } ,{ "testCaseDescription": "ruby-scope-operator-delete-replacement-test", "expectedResult": { "changes": { "scope-operator.rb": [ { "span": { "delete": { "start": [ 1, 1 ], "end": [ 1, 6 ] } }, "summary": "Deleted the '::Bar' scope operator" }, { "span": { "delete": { "start": [ 2, 1 ], "end": [ 2, 9 ] } }, "summary": "Deleted the 'Foo::bar' scope operator" }, { "span": { "insert": { "start": [ 2, 1 ], "end": [ 2, 6 ] } }, "summary": "Added the '::Bar' scope operator" } ] }, "errors": {} }, "filePaths": [ "scope-operator.rb" ], "patch": [ "diff --git a/scope-operator.rb b/scope-operator.rb", "index 2b0b854..4c887f9 100644", "--- a/scope-operator.rb", "+++ b/scope-operator.rb", "@@ -1,3 +1,2 @@", "-::Bar", "-Foo::bar", " Foo::bar", "+::Bar" ], "gitDir": "test/corpus/repos/ruby", "shas": "d435ce09f97187b196c19d0dc0c2528175dc2725..acce985a4a297612cc03d615ddbc94e108859643" } ,{ "testCaseDescription": "ruby-scope-operator-delete-test", "expectedResult": { "changes": { "scope-operator.rb": [ { "span": { "delete": { "start": [ 1, 1 ], "end": [ 1, 9 ] } }, "summary": "Deleted the 'Foo::bar' scope operator" } ] }, "errors": {} }, "filePaths": [ "scope-operator.rb" ], "patch": [ "diff --git a/scope-operator.rb b/scope-operator.rb", "index 4c887f9..2618c39 100644", "--- a/scope-operator.rb", "+++ b/scope-operator.rb", "@@ -1,2 +1 @@", "-Foo::bar", " ::Bar" ], "gitDir": "test/corpus/repos/ruby", "shas": "acce985a4a297612cc03d615ddbc94e108859643..79ace4201fdcef36b901d38b19348c9b9c623bbd" } ,{ "testCaseDescription": "ruby-scope-operator-delete-rest-test", "expectedResult": { "changes": { "scope-operator.rb": [ { "span": { "delete": { "start": [ 1, 1 ], "end": [ 1, 6 ] } }, "summary": "Deleted the '::Bar' scope operator" } ] }, "errors": {} }, "filePaths": [ "scope-operator.rb" ], "patch": [ "diff --git a/scope-operator.rb b/scope-operator.rb", "index 2618c39..e69de29 100644", "--- a/scope-operator.rb", "+++ b/scope-operator.rb", "@@ -1 +0,0 @@", "-::Bar" ], "gitDir": "test/corpus/repos/ruby", "shas": "79ace4201fdcef36b901d38b19348c9b9c623bbd..4be31ef5a0e1e38b38065b07de4afb42010387e1" }]