From 60de73b079e651642b10770df4c72bb6d3875f28 Mon Sep 17 00:00:00 2001 From: Timothy Clem Date: Wed, 2 Nov 2016 17:10:18 -0700 Subject: [PATCH] Revert some corpus changes that aren't needed --- .../ruby/element-reference.json | 36 ++++++------- .../diff-summaries/ruby/math-assignment.json | 32 ++++++------ .../ruby/multiple-assignments.json | 52 +++++++++---------- 3 files changed, 60 insertions(+), 60 deletions(-) diff --git a/test/corpus/diff-summaries/ruby/element-reference.json b/test/corpus/diff-summaries/ruby/element-reference.json index 4b56a0d93..63caf5b66 100644 --- a/test/corpus/diff-summaries/ruby/element-reference.json +++ b/test/corpus/diff-summaries/ruby/element-reference.json @@ -55,9 +55,9 @@ "filePaths": [ "element-reference.rb" ], - "sha1": "b22ab90f31f999ae10698ac13fb7826d9c012afd", + "sha1": "6bef099d2af7b41f171358e66662163cdf0bc96e", "gitDir": "test/corpus/repos/ruby", - "sha2": "8faa1072f000860b6f9134f201ee67bdf25fb175" + "sha2": "8bc26414118839cc62822f791546a858daf7463d" } ,{ "testCaseDescription": "ruby-element-reference-replacement-insert-test", @@ -146,9 +146,9 @@ "filePaths": [ "element-reference.rb" ], - "sha1": "8faa1072f000860b6f9134f201ee67bdf25fb175", + "sha1": "8bc26414118839cc62822f791546a858daf7463d", "gitDir": "test/corpus/repos/ruby", - "sha2": "1bf14bd0d1532dc8c6d9605c435d4dfa20e270a9" + "sha2": "5bf31b94df885fc6aeef3d941a276275a1b54539" } ,{ "testCaseDescription": "ruby-element-reference-delete-insert-test", @@ -207,7 +207,7 @@ } ] }, - "summary": "Replaced the 'x' identifier with the 'foo' identifier in the subscript access" + "summary": "Replaced the 'x' identifier with the 'foo' identifier in the foo[:bar] subscript access" }, { "span": { @@ -234,7 +234,7 @@ } ] }, - "summary": "Replaced the ':\"c\"' symbol with the ':bar' symbol in the subscript access" + "summary": "Replaced the ':\"c\"' symbol with the ':bar' symbol in the foo[:bar] subscript access" }, { "span": { @@ -258,9 +258,9 @@ "filePaths": [ "element-reference.rb" ], - "sha1": "1bf14bd0d1532dc8c6d9605c435d4dfa20e270a9", + "sha1": "5bf31b94df885fc6aeef3d941a276275a1b54539", "gitDir": "test/corpus/repos/ruby", - "sha2": "cc059ac892929e51191251d0f3e2252968d65314" + "sha2": "2772d28a1314eea9589d8248bfaacaac641d78fd" } ,{ "testCaseDescription": "ruby-element-reference-replacement-test", @@ -319,7 +319,7 @@ } ] }, - "summary": "Replaced the 'foo' identifier with the 'x' identifier in the subscript access" + "summary": "Replaced the 'foo' identifier with the 'x' identifier in the x[:\"c\"] subscript access" }, { "span": { @@ -346,7 +346,7 @@ } ] }, - "summary": "Replaced the ':bar' symbol with the ':\"c\"' symbol in the subscript access" + "summary": "Replaced the ':bar' symbol with the ':\"c\"' symbol in the x[:\"c\"] subscript access" }, { "span": { @@ -370,9 +370,9 @@ "filePaths": [ "element-reference.rb" ], - "sha1": "cc059ac892929e51191251d0f3e2252968d65314", + "sha1": "2772d28a1314eea9589d8248bfaacaac641d78fd", "gitDir": "test/corpus/repos/ruby", - "sha2": "27d2733604b6d27e2f31de7267d31917451ecc53" + "sha2": "6bd4d2e07d73b6bf4d52cff5ec3990c18e04da38" } ,{ "testCaseDescription": "ruby-element-reference-delete-replacement-test", @@ -491,9 +491,9 @@ "filePaths": [ "element-reference.rb" ], - "sha1": "27d2733604b6d27e2f31de7267d31917451ecc53", + "sha1": "6bd4d2e07d73b6bf4d52cff5ec3990c18e04da38", "gitDir": "test/corpus/repos/ruby", - "sha2": "868c4831dd01c807b763cea902b90a80a92c0a52" + "sha2": "69629c98667b474becb7b596dedd4133cd703449" } ,{ "testCaseDescription": "ruby-element-reference-delete-test", @@ -552,9 +552,9 @@ "filePaths": [ "element-reference.rb" ], - "sha1": "868c4831dd01c807b763cea902b90a80a92c0a52", + "sha1": "69629c98667b474becb7b596dedd4133cd703449", "gitDir": "test/corpus/repos/ruby", - "sha2": "90e6a62b62a28a4a454b164384143756f66e1662" + "sha2": "65dc4b08527a43bdf462865885355973c8154460" } ,{ "testCaseDescription": "ruby-element-reference-delete-rest-test", @@ -598,7 +598,7 @@ "filePaths": [ "element-reference.rb" ], - "sha1": "90e6a62b62a28a4a454b164384143756f66e1662", + "sha1": "65dc4b08527a43bdf462865885355973c8154460", "gitDir": "test/corpus/repos/ruby", - "sha2": "ce1c0def9460d28b4eaef38a52d16af8d0d78a7a" + "sha2": "0afd2cfcf489061cc131d9970716bb04bb5cb203" }] diff --git a/test/corpus/diff-summaries/ruby/math-assignment.json b/test/corpus/diff-summaries/ruby/math-assignment.json index 92383b974..4d2496b11 100644 --- a/test/corpus/diff-summaries/ruby/math-assignment.json +++ b/test/corpus/diff-summaries/ruby/math-assignment.json @@ -85,9 +85,9 @@ "filePaths": [ "math-assignment.rb" ], - "sha1": "3c53c22b9707f1ec06bfdbe21093d2bf46996a6f", + "sha1": "644e721ee81af7e3491342e9ce3c03c31a55cfb7", "gitDir": "test/corpus/repos/ruby", - "sha2": "1cb0c2832f46815909027bf1f539c8c052be8348" + "sha2": "b7dfa15d6187b14d18be50ccb795956af9147613" } ,{ "testCaseDescription": "ruby-math-assignment-replacement-insert-test", @@ -251,9 +251,9 @@ "filePaths": [ "math-assignment.rb" ], - "sha1": "1cb0c2832f46815909027bf1f539c8c052be8348", + "sha1": "b7dfa15d6187b14d18be50ccb795956af9147613", "gitDir": "test/corpus/repos/ruby", - "sha2": "1915d0bed722cf0fb3f48687e7fd6a3a465150cb" + "sha2": "4534512207149f194dd347f448d495c98f1b8eda" } ,{ "testCaseDescription": "ruby-math-assignment-delete-insert-test", @@ -285,7 +285,7 @@ } ] }, - "summary": "Replaced '2' with '1' in the math assignment" + "summary": "Replaced '2' with '1' in the x math assignment" } ] }, @@ -294,9 +294,9 @@ "filePaths": [ "math-assignment.rb" ], - "sha1": "1915d0bed722cf0fb3f48687e7fd6a3a465150cb", + "sha1": "4534512207149f194dd347f448d495c98f1b8eda", "gitDir": "test/corpus/repos/ruby", - "sha2": "85b2f4875d8f977715bd270ae23d2816564e28f5" + "sha2": "fb1f78bd03eaba84b56395e7438018543565a0d9" } ,{ "testCaseDescription": "ruby-math-assignment-replacement-test", @@ -328,7 +328,7 @@ } ] }, - "summary": "Replaced '1' with '2' in the math assignment" + "summary": "Replaced '1' with '2' in the x math assignment" } ] }, @@ -337,9 +337,9 @@ "filePaths": [ "math-assignment.rb" ], - "sha1": "85b2f4875d8f977715bd270ae23d2816564e28f5", + "sha1": "fb1f78bd03eaba84b56395e7438018543565a0d9", "gitDir": "test/corpus/repos/ruby", - "sha2": "bf5921c4c0ed67e905e3d2993d30627a16c414a9" + "sha2": "ac1296999ccb9067af062d4d59e16513c61cd81d" } ,{ "testCaseDescription": "ruby-math-assignment-delete-replacement-test", @@ -458,9 +458,9 @@ "filePaths": [ "math-assignment.rb" ], - "sha1": "bf5921c4c0ed67e905e3d2993d30627a16c414a9", + "sha1": "ac1296999ccb9067af062d4d59e16513c61cd81d", "gitDir": "test/corpus/repos/ruby", - "sha2": "110fbe6761e409c79af0373b5e63c7e381f3c4aa" + "sha2": "25954da8e8e2b92da4d869668e380180773997d7" } ,{ "testCaseDescription": "ruby-math-assignment-delete-test", @@ -549,9 +549,9 @@ "filePaths": [ "math-assignment.rb" ], - "sha1": "110fbe6761e409c79af0373b5e63c7e381f3c4aa", + "sha1": "25954da8e8e2b92da4d869668e380180773997d7", "gitDir": "test/corpus/repos/ruby", - "sha2": "4b5185e4e5b5b24efcb82e67acf0cf1e3fdd7147" + "sha2": "9a78372252901282e34c9f9ec376f3e4b4c761ce" } ,{ "testCaseDescription": "ruby-math-assignment-delete-rest-test", @@ -640,7 +640,7 @@ "filePaths": [ "math-assignment.rb" ], - "sha1": "4b5185e4e5b5b24efcb82e67acf0cf1e3fdd7147", + "sha1": "9a78372252901282e34c9f9ec376f3e4b4c761ce", "gitDir": "test/corpus/repos/ruby", - "sha2": "3c8ecb84c45ce828f5cd9aca26ae38273556fe8e" + "sha2": "d411db29ef77ddde028a6408d3e5b9d1af156598" }] diff --git a/test/corpus/diff-summaries/ruby/multiple-assignments.json b/test/corpus/diff-summaries/ruby/multiple-assignments.json index a3da630a4..4e075d4b7 100644 --- a/test/corpus/diff-summaries/ruby/multiple-assignments.json +++ b/test/corpus/diff-summaries/ruby/multiple-assignments.json @@ -25,9 +25,9 @@ "filePaths": [ "multiple-assignments.rb" ], - "sha1": "4b0947a8e2e4b499afa4bb5c101a7650e5908ec7", + "sha1": "65cdd278c64ea23aacd3c8cf11e6f52864fa66ff", "gitDir": "test/corpus/repos/ruby", - "sha2": "a85dc2dbdafa18fde4d43ec5798891a1b841879e" + "sha2": "9f2f6fc575ac8807150427ba4da1f8de11e74648" } ,{ "testCaseDescription": "ruby-multiple-assignments-replacement-insert-test", @@ -71,9 +71,9 @@ "filePaths": [ "multiple-assignments.rb" ], - "sha1": "a85dc2dbdafa18fde4d43ec5798891a1b841879e", + "sha1": "9f2f6fc575ac8807150427ba4da1f8de11e74648", "gitDir": "test/corpus/repos/ruby", - "sha2": "c9d4d5fbb0d72ac11c9f984986f6c37eef7af6b2" + "sha2": "e6d87164c6073959e327ce3e3552bb0215c65d18" } ,{ "testCaseDescription": "ruby-multiple-assignments-delete-insert-test", @@ -93,7 +93,7 @@ ] } }, - "summary": "Added the 'y' identifier in the function call" + "summary": "Added the 'y' identifier in the x(…, y, z, 20, 30) function call" }, { "span": { @@ -120,7 +120,7 @@ } ] }, - "summary": "Replaced the ', y = aVariable' at line 1, column 2 - line 1, column 17 with the 'z' assignment in the function call" + "summary": "Replaced the ', y = aVariable' at line 1, column 2 - line 1, column 17 with the 'z' assignment in the x(…, y, z, 20, 30) function call" }, { "span": { @@ -135,7 +135,7 @@ ] } }, - "summary": "Added '20' in the function call" + "summary": "Added '20' in the x(…, y, z, 20, 30) function call" }, { "span": { @@ -162,7 +162,7 @@ } ] }, - "summary": "Replaced '40' with '30' in the function call" + "summary": "Replaced '40' with '30' in the x(…, y, z, 20, 30) function call" } ] }, @@ -181,7 +181,7 @@ ] } }, - "summary": "Added the ',' at line 1, column 2 - line 1, column 3 in the function call" + "summary": "Added the ',' at line 1, column 2 - line 1, column 3 in the x(…, y, z, 20, 30) function call" } ] } @@ -189,9 +189,9 @@ "filePaths": [ "multiple-assignments.rb" ], - "sha1": "c9d4d5fbb0d72ac11c9f984986f6c37eef7af6b2", + "sha1": "e6d87164c6073959e327ce3e3552bb0215c65d18", "gitDir": "test/corpus/repos/ruby", - "sha2": "6844caf03d01055ec6286d5b90709a12032be7a0" + "sha2": "75c863e1f261a3fbb80129fd923b041ddf5d36f4" } ,{ "testCaseDescription": "ruby-multiple-assignments-replacement-test", @@ -211,7 +211,7 @@ ] } }, - "summary": "Added '40' in the function call" + "summary": "Added '40' in the x(…, 40) function call" }, { "span": { @@ -226,7 +226,7 @@ ] } }, - "summary": "Deleted the 'y' identifier in the function call" + "summary": "Deleted the 'y' identifier in the x(…, 40) function call" }, { "span": { @@ -241,7 +241,7 @@ ] } }, - "summary": "Deleted the 'z' assignment in the function call" + "summary": "Deleted the 'z' assignment in the x(…, 40) function call" }, { "span": { @@ -256,7 +256,7 @@ ] } }, - "summary": "Deleted '20' in the function call" + "summary": "Deleted '20' in the x(…, 40) function call" }, { "span": { @@ -271,7 +271,7 @@ ] } }, - "summary": "Deleted '30' in the function call" + "summary": "Deleted '30' in the x(…, 40) function call" } ] }, @@ -290,7 +290,7 @@ ] } }, - "summary": "Added the ', y = aVariable' at line 1, column 2 - line 1, column 17 in the function call" + "summary": "Added the ', y = aVariable' at line 1, column 2 - line 1, column 17 in the x(…, 40) function call" }, { "span": { @@ -305,7 +305,7 @@ ] } }, - "summary": "Deleted the ',' at line 1, column 2 - line 1, column 3 in the function call" + "summary": "Deleted the ',' at line 1, column 2 - line 1, column 3 in the x(…, 40) function call" } ] } @@ -313,9 +313,9 @@ "filePaths": [ "multiple-assignments.rb" ], - "sha1": "6844caf03d01055ec6286d5b90709a12032be7a0", + "sha1": "75c863e1f261a3fbb80129fd923b041ddf5d36f4", "gitDir": "test/corpus/repos/ruby", - "sha2": "81623fb732ff48e76cde32acaba5edeac71d255c" + "sha2": "1b8b525816da68c9b71590d195910c907ec07491" } ,{ "testCaseDescription": "ruby-multiple-assignments-delete-replacement-test", @@ -374,9 +374,9 @@ "filePaths": [ "multiple-assignments.rb" ], - "sha1": "81623fb732ff48e76cde32acaba5edeac71d255c", + "sha1": "1b8b525816da68c9b71590d195910c907ec07491", "gitDir": "test/corpus/repos/ruby", - "sha2": "cefbd8d0a3263d4f5473ba8a1f3db40fef483600" + "sha2": "7b56b3f5cc93525db8296697cf4172342acf9808" } ,{ "testCaseDescription": "ruby-multiple-assignments-delete-test", @@ -405,9 +405,9 @@ "filePaths": [ "multiple-assignments.rb" ], - "sha1": "cefbd8d0a3263d4f5473ba8a1f3db40fef483600", + "sha1": "7b56b3f5cc93525db8296697cf4172342acf9808", "gitDir": "test/corpus/repos/ruby", - "sha2": "d89cd59099033e41fed0e6b57e48fb54cbaca833" + "sha2": "87e60bd80ad17dec9827433189e28c6b26e84d90" } ,{ "testCaseDescription": "ruby-multiple-assignments-delete-rest-test", @@ -436,7 +436,7 @@ "filePaths": [ "multiple-assignments.rb" ], - "sha1": "d89cd59099033e41fed0e6b57e48fb54cbaca833", + "sha1": "87e60bd80ad17dec9827433189e28c6b26e84d90", "gitDir": "test/corpus/repos/ruby", - "sha2": "ac466f9d7cceaf9d88c8a09227be9b217a9b2155" + "sha2": "99cb54a96833cce9f6add73f966884f7b735594e" }]