1
1
mirror of https://github.com/github/semantic.git synced 2024-12-01 09:15:01 +03:00

update ruby tests

This commit is contained in:
joshvera 2017-01-05 17:09:50 -05:00
parent ae40908cd2
commit ec1ea9aa17
58 changed files with 1770 additions and 586 deletions

View File

@ -34,7 +34,7 @@
"+foo and bar"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "48bff6bf54e74bb5709add925c8101431133d29b..718a1f41b48403cdcb927be311af138014047e2a"
"shas": "fc609dae9f5b27759a6c47f397fe6806e55f8679..0c027c3bcc78810b8f9e2859b0bf9dafc8d3f429"
}
,{
"testCaseDescription": "ruby-and-or-replacement-insert-test",
@ -105,7 +105,7 @@
" foo and bar"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "718a1f41b48403cdcb927be311af138014047e2a..b7e04363c991e6a2cd1df38c5f20aa8e9ff7e337"
"shas": "0c027c3bcc78810b8f9e2859b0bf9dafc8d3f429..e21876f071a4d3a8e3a33d15644aee3217410522"
}
,{
"testCaseDescription": "ruby-and-or-delete-insert-test",
@ -174,7 +174,7 @@
" foo and bar"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "b7e04363c991e6a2cd1df38c5f20aa8e9ff7e337..82a2a103e2f86084de0d80d198270d87f02eda63"
"shas": "e21876f071a4d3a8e3a33d15644aee3217410522..5b55a39e5bd2ecb1f98b0b639a5a7c42a1edc3ed"
}
,{
"testCaseDescription": "ruby-and-or-replacement-test",
@ -243,7 +243,7 @@
" foo and bar"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "82a2a103e2f86084de0d80d198270d87f02eda63..d10ab6a75880a64eef54c3aa82d677def1938901"
"shas": "5b55a39e5bd2ecb1f98b0b639a5a7c42a1edc3ed..b267f8e7a24ad25e19b4135c94ddf57b98d09a0a"
}
,{
"testCaseDescription": "ruby-and-or-delete-replacement-test",
@ -285,7 +285,7 @@
"-foo and bar"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "d10ab6a75880a64eef54c3aa82d677def1938901..f4fa4f7622bdfac02faa1feecd7993e7201467b2"
"shas": "b267f8e7a24ad25e19b4135c94ddf57b98d09a0a..30ee3d05612cebe4d29caf0ec316ccadea249b87"
}
,{
"testCaseDescription": "ruby-and-or-delete-test",
@ -325,7 +325,7 @@
" a or b and c"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "f4fa4f7622bdfac02faa1feecd7993e7201467b2..9971253676f78cad3cc69fd652b087501fb4c0bc"
"shas": "30ee3d05612cebe4d29caf0ec316ccadea249b87..87d061d239b063f55b6272ebc193b7afaf041c9e"
}
,{
"testCaseDescription": "ruby-and-or-delete-rest-test",
@ -379,5 +379,5 @@
"-a or b and c"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "9971253676f78cad3cc69fd652b087501fb4c0bc..e29d844a20e10103ff1197d78c6639bba8fc6e8a"
"shas": "87d061d239b063f55b6272ebc193b7afaf041c9e..7c793b16609953b03f729c6de62ceafd095d2398"
}]

View File

@ -34,7 +34,7 @@
"+[ 1, 2, 3]"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "e8c4c9b4ba151237a0e88d5a650d34ee5a5a1b61..92505afbaea485d23aecf7f8edb66dfad7e17fd8"
"shas": "6958bb99ad03c2601f180ead5e0dc38c7ca529f4..4cb664902f1f81bc116aa2fdf24771b9978b7c14"
}
,{
"testCaseDescription": "ruby-array-replacement-insert-test",
@ -89,7 +89,7 @@
" [ 1, 2, 3]"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "92505afbaea485d23aecf7f8edb66dfad7e17fd8..4f3473df5291027b89f3b4fe9ca1854e49454cc4"
"shas": "4cb664902f1f81bc116aa2fdf24771b9978b7c14..5ce2d3842f0a9d3e2045423d9b5f5f03d51a6dcf"
}
,{
"testCaseDescription": "ruby-array-delete-insert-test",
@ -205,7 +205,7 @@
" [ 1, 2, 3]"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "4f3473df5291027b89f3b4fe9ca1854e49454cc4..9def16756eb5f54b2e6b55b6a4cdfeb4a8d5de46"
"shas": "5ce2d3842f0a9d3e2045423d9b5f5f03d51a6dcf..d47e9f76b4d5e999a0b8dfb05f2e4fef4f520bbe"
}
,{
"testCaseDescription": "ruby-array-replacement-test",
@ -321,7 +321,7 @@
" [ 1, 2, 3]"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "9def16756eb5f54b2e6b55b6a4cdfeb4a8d5de46..201d96f51f94a1a40acc9278b6adc775bea84b0f"
"shas": "d47e9f76b4d5e999a0b8dfb05f2e4fef4f520bbe..f1ad58ab705d19cf49bed2e6fedf170b90f2608f"
}
,{
"testCaseDescription": "ruby-array-delete-replacement-test",
@ -392,7 +392,7 @@
"+['a', 'b', 'c']"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "201d96f51f94a1a40acc9278b6adc775bea84b0f..b5284048ab1c80b398b60b7c632c733adde8df2e"
"shas": "f1ad58ab705d19cf49bed2e6fedf170b90f2608f..312d1e1f36c5db7ca8d58084c7a34a08fa7d9688"
}
,{
"testCaseDescription": "ruby-array-delete-test",
@ -431,7 +431,7 @@
" ['a', 'b', 'c']"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "b5284048ab1c80b398b60b7c632c733adde8df2e..aff7086bf8fd3b7fc3be8f3bd49c41c46a049729"
"shas": "312d1e1f36c5db7ca8d58084c7a34a08fa7d9688..93516145915cef4588de9084a0f69d13a4466c27"
}
,{
"testCaseDescription": "ruby-array-delete-rest-test",
@ -469,5 +469,5 @@
"-['a', 'b', 'c']"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "aff7086bf8fd3b7fc3be8f3bd49c41c46a049729..79b196cace027a076f4ba235171fd4f409bdaba9"
"shas": "93516145915cef4588de9084a0f69d13a4466c27..e8640758809cf7312226b84f188b4089c0da4a95"
}]

View File

@ -34,7 +34,7 @@
"+x = 0"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "4d0ef41f7debeacebe9a218e39bb2b48c8405446..ad5a90e438df179af24b1db62954dd57456ecb70"
"shas": "ad37c6bddef1ebfea76c652b142476e8268b9f9f..337fc649e848cfd5b7ebff8358795540dedaceec"
}
,{
"testCaseDescription": "ruby-assignment-replacement-insert-test",
@ -89,7 +89,7 @@
" x = 0"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "ad5a90e438df179af24b1db62954dd57456ecb70..91faac962a01a884edd6ada891ced7040d038ad4"
"shas": "337fc649e848cfd5b7ebff8358795540dedaceec..43ac0f35fdcecf73f7520acbf2ba8b3fb2a59244"
}
,{
"testCaseDescription": "ruby-assignment-delete-insert-test",
@ -142,7 +142,7 @@
" x = 0"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "91faac962a01a884edd6ada891ced7040d038ad4..9176406da7e16de7c17eddfbeb557a7441dcae6b"
"shas": "43ac0f35fdcecf73f7520acbf2ba8b3fb2a59244..5917347da9c36b0d883da986160f2e60a3865c6b"
}
,{
"testCaseDescription": "ruby-assignment-replacement-test",
@ -195,7 +195,7 @@
" x = 0"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "9176406da7e16de7c17eddfbeb557a7441dcae6b..781f04eca397646ee7614b9206aa7eff79a2e400"
"shas": "5917347da9c36b0d883da986160f2e60a3865c6b..3f5514edb01a9fb6bac76afb0116f85ab2fca104"
}
,{
"testCaseDescription": "ruby-assignment-delete-replacement-test",
@ -266,7 +266,7 @@
"+x = 1"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "781f04eca397646ee7614b9206aa7eff79a2e400..75bccc3232c4b4773225c70ba35b08ba08e95d38"
"shas": "3f5514edb01a9fb6bac76afb0116f85ab2fca104..9cab4a40a1a61c59e1de9e59054bae8b2346c451"
}
,{
"testCaseDescription": "ruby-assignment-delete-test",
@ -305,7 +305,7 @@
" x = 1"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "75bccc3232c4b4773225c70ba35b08ba08e95d38..5dd9958c7bc7d5736ba816f77ce0a88f7b2fa709"
"shas": "9cab4a40a1a61c59e1de9e59054bae8b2346c451..b61b033771ca257304ac0a611e6615ef235ba656"
}
,{
"testCaseDescription": "ruby-assignment-delete-rest-test",
@ -343,5 +343,5 @@
"-x = 1"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "5dd9958c7bc7d5736ba816f77ce0a88f7b2fa709..a07f2fef830bc79ffa2136025c4e29d5c8a0ff1b"
"shas": "b61b033771ca257304ac0a611e6615ef235ba656..0d6f45b8e092aca20796332d92dd87f9efe857ad"
}]

View File

@ -36,7 +36,7 @@
"+}"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "94ad2a55ec6e672dc0141d4eb140eac51505c3f3..607d6ab0c10829f932b4105f680cf2001e69400f"
"shas": "47e3b96f83ebc32e63720d4e679f9465b8bbf9a9..c2f5a55f2acd0c1b39246e829d176e9b6f45fb56"
}
,{
"testCaseDescription": "ruby-begin-block-replacement-insert-test",
@ -113,7 +113,7 @@
" }"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "607d6ab0c10829f932b4105f680cf2001e69400f..64af6701b22116fb4d3f49e6955735b9faccd69b"
"shas": "c2f5a55f2acd0c1b39246e829d176e9b6f45fb56..f8558918125fffed8e4260b2d25fa30a27870de7"
}
,{
"testCaseDescription": "ruby-begin-block-delete-insert-test",
@ -187,7 +187,7 @@
" foo"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "64af6701b22116fb4d3f49e6955735b9faccd69b..899324a7bdf43e1171bad9545e44238ef55a818f"
"shas": "f8558918125fffed8e4260b2d25fa30a27870de7..1fd6e0480b4eec02d7f044d1fe718bf09d3fe924"
}
,{
"testCaseDescription": "ruby-begin-block-replacement-test",
@ -258,7 +258,7 @@
" foo"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "899324a7bdf43e1171bad9545e44238ef55a818f..1df129cf1f0fbe27c7d05487a2e141a5b5ad02b4"
"shas": "1fd6e0480b4eec02d7f044d1fe718bf09d3fe924..e3ed35f83bffdf5ae0c3ee2b274ea28ad111dc7c"
}
,{
"testCaseDescription": "ruby-begin-block-delete-replacement-test",
@ -307,7 +307,7 @@
" }"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "1df129cf1f0fbe27c7d05487a2e141a5b5ad02b4..ced5b35982c48d22ba622ed28fc36d14acdc31e2"
"shas": "e3ed35f83bffdf5ae0c3ee2b274ea28ad111dc7c..0f9c0a98dfffcfa0466825e72ebc20d873ec6866"
}
,{
"testCaseDescription": "ruby-begin-block-delete-test",
@ -350,7 +350,7 @@
" bar"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "ced5b35982c48d22ba622ed28fc36d14acdc31e2..dea1fe3882582fbae56c5370051baf5d951ae2c3"
"shas": "0f9c0a98dfffcfa0466825e72ebc20d873ec6866..6388231659518d04d4d44121e8c69e7e88294768"
}
,{
"testCaseDescription": "ruby-begin-block-delete-rest-test",
@ -406,5 +406,5 @@
"-}"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "dea1fe3882582fbae56c5370051baf5d951ae2c3..82c6448a6e4e2d885ac6f12d9f86cdb1d6d1dd2d"
"shas": "6388231659518d04d4d44121e8c69e7e88294768..5d269ca117a9d17e62cca79477cef2aef5f566a9"
}]

View File

@ -35,7 +35,7 @@
"+end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "72e1f4912f54a936266422abbb53a9c2fc864992..d9be702e11b41377baa2f5fb3ccd4e3cf3dd81e4"
"shas": "fc0411352ae036e9bb70161b0d14defacee8bba0..51356b9261368bd6ea64f62d1b669503f8beba55"
}
,{
"testCaseDescription": "ruby-begin-insert-test",
@ -76,7 +76,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "d9be702e11b41377baa2f5fb3ccd4e3cf3dd81e4..1f7c992ecbf8dc5434ec7da2bc396e814e91adc9"
"shas": "51356b9261368bd6ea64f62d1b669503f8beba55..7e0f9606fcaafccbe1a7e8c02fad23a48758e0b3"
}
,{
"testCaseDescription": "ruby-begin-replacement-test",
@ -118,7 +118,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "1f7c992ecbf8dc5434ec7da2bc396e814e91adc9..a72bbedc16a6b300edf51b665ebaf90e62662ab8"
"shas": "7e0f9606fcaafccbe1a7e8c02fad23a48758e0b3..fd1bdcb5bdb24cf7c1b56203d69c1ec26ae0fb15"
}
,{
"testCaseDescription": "ruby-begin-delete-replacement-test",
@ -160,7 +160,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "a72bbedc16a6b300edf51b665ebaf90e62662ab8..4ba57f34c39daab00f1b9fc48f1e162ced2e9a44"
"shas": "fd1bdcb5bdb24cf7c1b56203d69c1ec26ae0fb15..98c38df9458a762f7424c2d549da1e89ef88099a"
}
,{
"testCaseDescription": "ruby-begin-delete-insert-test",
@ -201,7 +201,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "4ba57f34c39daab00f1b9fc48f1e162ced2e9a44..9995f52897de0441895de23887b80cd4c9b7ea75"
"shas": "98c38df9458a762f7424c2d549da1e89ef88099a..6fe6d07d57f15c54323109bd314a16b7c0e8bdf8"
}
,{
"testCaseDescription": "ruby-begin-teardown-test",
@ -240,5 +240,5 @@
"-end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "9995f52897de0441895de23887b80cd4c9b7ea75..cc81318f97e858789ab75eb6e9c4a9ef9a96807c"
"shas": "6fe6d07d57f15c54323109bd314a16b7c0e8bdf8..2ff4d86a6d35676f4d5311fa3886d7387af54924"
}]

View File

@ -66,7 +66,7 @@
"+a ^ b"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "f7475f092fd81593aab4939187efba0e1a894cc6..1fb1f51718a4b8ddf240e498b79dd574de91f7ee"
"shas": "b252c9ba3332bcefece9ff8271702b6e88a9756e..9d8078ab45ad8e816e1f2a44067b1afe9b5e21fe"
}
,{
"testCaseDescription": "ruby-bitwise-operator-replacement-insert-test",
@ -171,28 +171,13 @@
" a ^ b"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "1fb1f51718a4b8ddf240e498b79dd574de91f7ee..6aedb1ce3a8797ff587dd8ab390fd0ce6aeb0d47"
"shas": "9d8078ab45ad8e816e1f2a44067b1afe9b5e21fe..49682961a16189debddf84826361ade5ef1998b5"
}
,{
"testCaseDescription": "ruby-bitwise-operator-delete-insert-test",
"expectedResult": {
"changes": {
"bitwise-operator.rb": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
6
]
}
},
"summary": "Added the 'a | b' binary statement"
},
{
"span": {
"replace": [
@ -208,17 +193,32 @@
},
{
"start": [
2,
1,
1
],
"end": [
2,
7
1,
6
]
}
]
},
"summary": "Replaced the 'a & b' binary statement with the 'a >> b' binary statement"
"summary": "Replaced the 'a & b' binary statement with the 'a | b' binary statement"
},
{
"span": {
"insert": {
"start": [
2,
1
],
"end": [
2,
7
]
}
},
"summary": "Added the 'a >> b' binary statement"
},
{
"span": {
@ -270,7 +270,7 @@
" a ^ b"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "6aedb1ce3a8797ff587dd8ab390fd0ce6aeb0d47..0549c1aa48fc56756472ca67726a9003416f9454"
"shas": "49682961a16189debddf84826361ade5ef1998b5..8abec54ce402c9f588069b3fa93e2a7e3ed1376b"
}
,{
"testCaseDescription": "ruby-bitwise-operator-replacement-test",
@ -279,18 +279,30 @@
"bitwise-operator.rb": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
6
]
}
"replace": [
{
"start": [
1,
1
],
"end": [
1,
6
]
},
{
"start": [
1,
1
],
"end": [
1,
6
]
}
]
},
"summary": "Added the 'a & b' binary statement"
"summary": "Replaced the 'a | b' binary statement with the 'a & b' binary statement"
},
{
"span": {
@ -307,21 +319,6 @@
},
"summary": "Added the 'a << b' binary statement"
},
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
6
]
}
},
"summary": "Deleted the 'a | b' binary statement"
},
{
"span": {
"delete": {
@ -375,7 +372,7 @@
" a ^ b"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "0549c1aa48fc56756472ca67726a9003416f9454..8a618461620c18e9ea3a33b5b770de186e326ebc"
"shas": "8abec54ce402c9f588069b3fa93e2a7e3ed1376b..dc73b6f10a90387a13b05075817c03aea92c39fe"
}
,{
"testCaseDescription": "ruby-bitwise-operator-delete-replacement-test",
@ -512,7 +509,7 @@
"+a << b"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "8a618461620c18e9ea3a33b5b770de186e326ebc..a5688f715668b3db076f20ff3399d2bff365d1da"
"shas": "dc73b6f10a90387a13b05075817c03aea92c39fe..13228d3a83bed205a5312e2f3f5aa807c4976ad9"
}
,{
"testCaseDescription": "ruby-bitwise-operator-delete-test",
@ -584,7 +581,7 @@
" a << b"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "a5688f715668b3db076f20ff3399d2bff365d1da..67a9aacd2e7ce87b09f9e3772b7766c58e875edd"
"shas": "13228d3a83bed205a5312e2f3f5aa807c4976ad9..f0387bc00ff8b1a235b0e2ca18d270ce39e17afd"
}
,{
"testCaseDescription": "ruby-bitwise-operator-delete-rest-test",
@ -638,5 +635,5 @@
"-a << b"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "67a9aacd2e7ce87b09f9e3772b7766c58e875edd..1965f9bdeebab8468bebb4f2c29230d3a42c255e"
"shas": "f0387bc00ff8b1a235b0e2ca18d270ce39e17afd..a78a9b4e3e1840c6b004ca6c5951ab277fcc2b2e"
}]

View File

@ -34,7 +34,7 @@
"+a || b"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "e29d844a20e10103ff1197d78c6639bba8fc6e8a..df14bb28f16cb2a1559a25f79ed0f828988ae3f1"
"shas": "ee10d58031d9a00cb31cab48d79839b6333dbba7..10a085efbcf01d338772e93ca73acda8f76f8ba1"
}
,{
"testCaseDescription": "ruby-boolean-operator-replacement-insert-test",
@ -89,7 +89,7 @@
" a || b"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "df14bb28f16cb2a1559a25f79ed0f828988ae3f1..f5f5bd68d54c7d785cb8be9fa807e45b0edb3e49"
"shas": "10a085efbcf01d338772e93ca73acda8f76f8ba1..4c760fb4f0e1e072fd6cc4c758ae743f7dc708c5"
}
,{
"testCaseDescription": "ruby-boolean-operator-delete-insert-test",
@ -142,7 +142,7 @@
" a || b"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "f5f5bd68d54c7d785cb8be9fa807e45b0edb3e49..b6258c7694077f26c384afdba0d38ff1c987c01e"
"shas": "4c760fb4f0e1e072fd6cc4c758ae743f7dc708c5..3be5421c43697162dc16e2fac0b257a3bc738e31"
}
,{
"testCaseDescription": "ruby-boolean-operator-replacement-test",
@ -195,7 +195,7 @@
" a || b"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "b6258c7694077f26c384afdba0d38ff1c987c01e..53428a8acedfee4c1f2f28b0c8b798fc74d5ae20"
"shas": "3be5421c43697162dc16e2fac0b257a3bc738e31..0ab83a3fdc22e31eb597ffca69f049aa8b72c8a5"
}
,{
"testCaseDescription": "ruby-boolean-operator-delete-replacement-test",
@ -266,7 +266,7 @@
"+a && b"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "53428a8acedfee4c1f2f28b0c8b798fc74d5ae20..11ad3b40423df923fb6260046df3bd83b3b2fc94"
"shas": "0ab83a3fdc22e31eb597ffca69f049aa8b72c8a5..052f1c40bc994b073defcecb76f4cc6fd8d637e0"
}
,{
"testCaseDescription": "ruby-boolean-operator-delete-test",
@ -305,7 +305,7 @@
" a && b"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "11ad3b40423df923fb6260046df3bd83b3b2fc94..1a515a532b8a07afeeedbdd56956bf3e6a4f4f57"
"shas": "052f1c40bc994b073defcecb76f4cc6fd8d637e0..317c755db0bd6620942584739d4f1999af53fd6d"
}
,{
"testCaseDescription": "ruby-boolean-operator-delete-rest-test",
@ -343,5 +343,5 @@
"-a && b"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "1a515a532b8a07afeeedbdd56956bf3e6a4f4f57..7c5058a233fff0a5b08a6fa3752565ecbdde40e5"
"shas": "317c755db0bd6620942584739d4f1999af53fd6d..9b401fef54c4531f03e5e7c5a3211248c34657ad"
}]

View File

@ -36,7 +36,7 @@
"+end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "98200bee05decb871fcfdf6858ee954898880f72..b6210fce75b001a4f6dcebfd8977c41c74c55e40"
"shas": "17cb015bf9232a8dce120f520d1654a5035b5735..e5b8c3c1b30d7391572602bfb217767a8c51cd0f"
}
,{
"testCaseDescription": "ruby-class-replacement-insert-test",
@ -97,7 +97,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "b6210fce75b001a4f6dcebfd8977c41c74c55e40..4d8c5346eda3e267a62cbe1cd2da74ff24035f5b"
"shas": "e5b8c3c1b30d7391572602bfb217767a8c51cd0f..3c3d5582d351fda0659a1df3983d91256acba494"
}
,{
"testCaseDescription": "ruby-class-delete-insert-test",
@ -121,7 +121,7 @@
" class Foo < Super"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "4d8c5346eda3e267a62cbe1cd2da74ff24035f5b..895b7645a3ad8b26bfb59f814bf914213a1508f8"
"shas": "3c3d5582d351fda0659a1df3983d91256acba494..7d130245b059dbfcadf87eb3efa17ea16ecbc933"
}
,{
"testCaseDescription": "ruby-class-replacement-test",
@ -145,7 +145,7 @@
" class Foo < Super"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "895b7645a3ad8b26bfb59f814bf914213a1508f8..64fd047eef7b0ce2ea5e8746e8d79b3ca8c0ec06"
"shas": "7d130245b059dbfcadf87eb3efa17ea16ecbc933..2e886c0cd0e8f23db8ba877152fdc2ee43940258"
}
,{
"testCaseDescription": "ruby-class-delete-replacement-test",
@ -222,7 +222,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "64fd047eef7b0ce2ea5e8746e8d79b3ca8c0ec06..129ea7453ad876f91980fe45c08f65586d0b082b"
"shas": "2e886c0cd0e8f23db8ba877152fdc2ee43940258..1d243c174b7c568806f4711c6fe41e9b0348d081"
}
,{
"testCaseDescription": "ruby-class-delete-test",
@ -265,7 +265,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "129ea7453ad876f91980fe45c08f65586d0b082b..7a054e58466e2a33d7c70bb948497f3b0622b6e5"
"shas": "1d243c174b7c568806f4711c6fe41e9b0348d081..d93a6e632990eb63ec72a36382e575fe6a823e35"
}
,{
"testCaseDescription": "ruby-class-delete-rest-test",
@ -305,5 +305,5 @@
"-end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "7a054e58466e2a33d7c70bb948497f3b0622b6e5..5e4ebb1f424a9e273ffc7cc40c76cee1d78b0d77"
"shas": "d93a6e632990eb63ec72a36382e575fe6a823e35..65580f341a0baa13c07bff3b4a8ad37ce1d1a478"
}]

View File

@ -16,7 +16,7 @@
"+# This is a comment"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "a07f2fef830bc79ffa2136025c4e29d5c8a0ff1b..d3d916a02cf198fb7c5c5f96df6b1fc4382b76e8"
"shas": "0d6f45b8e092aca20796332d92dd87f9efe857ad..23e7a6b64a153f1eba982a01da8dfa61d6e0069e"
}
,{
"testCaseDescription": "ruby-comment-replacement-insert-test",
@ -41,7 +41,7 @@
" # This is a comment"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "d3d916a02cf198fb7c5c5f96df6b1fc4382b76e8..f7b133e4dd896586ba44964a6d2bd39a6127add3"
"shas": "23e7a6b64a153f1eba982a01da8dfa61d6e0069e..5950affcdb6ae4a065dea303cd3f4ad9850df865"
}
,{
"testCaseDescription": "ruby-comment-delete-insert-test",
@ -67,7 +67,7 @@
" # This is a comment"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "f7b133e4dd896586ba44964a6d2bd39a6127add3..0a2c056dcc8f63a3911048c316c580cf4252efc7"
"shas": "5950affcdb6ae4a065dea303cd3f4ad9850df865..683faa45490c8d942a81536f0cc6a8977180dbf9"
}
,{
"testCaseDescription": "ruby-comment-replacement-test",
@ -93,7 +93,7 @@
" # This is a comment"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "0a2c056dcc8f63a3911048c316c580cf4252efc7..bf6bbf3aa85c998bbea81e8fcd8c51057e9a843c"
"shas": "683faa45490c8d942a81536f0cc6a8977180dbf9..779475d17556f603f6b1e7609d64b7ee9f730370"
}
,{
"testCaseDescription": "ruby-comment-delete-replacement-test",
@ -119,7 +119,7 @@
"-# This is a comment"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "bf6bbf3aa85c998bbea81e8fcd8c51057e9a843c..c7b39074cc7505098417f848da30325ca8b7410f"
"shas": "779475d17556f603f6b1e7609d64b7ee9f730370..2e48e48f1bc20d8b3d7e555ed74e1febd6d1835c"
}
,{
"testCaseDescription": "ruby-comment-delete-test",
@ -142,7 +142,7 @@
" comment"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "c7b39074cc7505098417f848da30325ca8b7410f..ef695b264a83cfc43b8b08eb4bfcd4f22fa138d1"
"shas": "2e48e48f1bc20d8b3d7e555ed74e1febd6d1835c..4701378a1778cb4d624257fce08111c4a78ccfc7"
}
,{
"testCaseDescription": "ruby-comment-delete-rest-test",
@ -165,5 +165,5 @@
"-=end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "ef695b264a83cfc43b8b08eb4bfcd4f22fa138d1..0f08e943de503b5d714186206425966f0517ddec"
"shas": "4701378a1778cb4d624257fce08111c4a78ccfc7..52cf93cebb9ab352668a7e014fb5d60e4899db14"
}]

View File

@ -50,7 +50,7 @@
"+a > b"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "90aa585d4ae985a7c45200caf714149779717558..3f805e1231d263aaee85a8ac7d2ae11fd70c4fc6"
"shas": "4ba43472cd82a6924fd8baa66d96683896404d49..17eed94f7387f19d473a4bb8d538fd2d90a2da3f"
}
,{
"testCaseDescription": "ruby-comparision-operator-replacement-insert-test",
@ -138,7 +138,7 @@
" a > b"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "3f805e1231d263aaee85a8ac7d2ae11fd70c4fc6..a6a5370ffbd9e6d6f1c2b0420eabe85b2724e073"
"shas": "17eed94f7387f19d473a4bb8d538fd2d90a2da3f..67fb2889ddc8c0bc68f1d4c73eaf0c5b185532a1"
}
,{
"testCaseDescription": "ruby-comparision-operator-delete-insert-test",
@ -221,7 +221,7 @@
" x < y"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "a6a5370ffbd9e6d6f1c2b0420eabe85b2724e073..eb604c0bcf71199d5c621faae2e35bf19d5d38f5"
"shas": "67fb2889ddc8c0bc68f1d4c73eaf0c5b185532a1..e5de3a5e0eb3bd18518b579e6700888c70f7ce84"
}
,{
"testCaseDescription": "ruby-comparision-operator-replacement-test",
@ -304,7 +304,7 @@
" x < y"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "eb604c0bcf71199d5c621faae2e35bf19d5d38f5..85ec514fd02a930895b759fde6c1ae1c168f2305"
"shas": "e5de3a5e0eb3bd18518b579e6700888c70f7ce84..102d3f48047a0ceae3197fb4156995dac32759a5"
}
,{
"testCaseDescription": "ruby-comparision-operator-delete-replacement-test",
@ -424,7 +424,7 @@
"+a >= b"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "85ec514fd02a930895b759fde6c1ae1c168f2305..6c1ce08787e2be33cdff965236183001674249e0"
"shas": "102d3f48047a0ceae3197fb4156995dac32759a5..7581493c1288ea5a8d0c72bfbe69aef8a065eb23"
}
,{
"testCaseDescription": "ruby-comparision-operator-delete-test",
@ -480,7 +480,7 @@
" a >= b"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "6c1ce08787e2be33cdff965236183001674249e0..ef13be31a7ebb4b35e3c83e52bc45d3a345d0503"
"shas": "7581493c1288ea5a8d0c72bfbe69aef8a065eb23..d554116226fc56ee2f888f048ef12e6667d024fe"
}
,{
"testCaseDescription": "ruby-comparision-operator-delete-rest-test",
@ -534,5 +534,5 @@
"-a >= b"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "ef13be31a7ebb4b35e3c83e52bc45d3a345d0503..f7475f092fd81593aab4939187efba0e1a894cc6"
"shas": "d554116226fc56ee2f888f048ef12e6667d024fe..b252c9ba3332bcefece9ff8271702b6e88a9756e"
}]

View File

@ -34,7 +34,7 @@
"+x ||= 5"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "bba90b67e00732e5f4f32a72f7b6b131d33dd30e..aed651d3923765ed3138e049c2cc0ba2cde6cb84"
"shas": "8391127f071abd9f1ac213c13eea4417eafc7db6..8cfcd360a6bf39aed4700b2a76bf5f406ed05824"
}
,{
"testCaseDescription": "ruby-conditional-assignment-replacement-insert-test",
@ -89,7 +89,7 @@
" x ||= 5"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "aed651d3923765ed3138e049c2cc0ba2cde6cb84..db83fd26ce25ec9193f84fd776f8c36289ce7516"
"shas": "8cfcd360a6bf39aed4700b2a76bf5f406ed05824..595194b149be69af54bf20c81ad0bf4ae09c79c1"
}
,{
"testCaseDescription": "ruby-conditional-assignment-delete-insert-test",
@ -142,7 +142,7 @@
" x ||= 5"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "db83fd26ce25ec9193f84fd776f8c36289ce7516..c9bcb43f918ac8a89adf2e4f5227113fd65c13cc"
"shas": "595194b149be69af54bf20c81ad0bf4ae09c79c1..8ee0855657927af53f91031c7c96443fda2efdc8"
}
,{
"testCaseDescription": "ruby-conditional-assignment-replacement-test",
@ -195,7 +195,7 @@
" x ||= 5"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "c9bcb43f918ac8a89adf2e4f5227113fd65c13cc..12100cef49bba40f05ebaf7f015e6f39c409f2c2"
"shas": "8ee0855657927af53f91031c7c96443fda2efdc8..60efd87286ac7d0bad1c82b41aa706da1b8bfe1e"
}
,{
"testCaseDescription": "ruby-conditional-assignment-delete-replacement-test",
@ -266,7 +266,7 @@
"+x &&= 7"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "12100cef49bba40f05ebaf7f015e6f39c409f2c2..b2e02b7f3e454208a01199c2196b0a39eaabe4e0"
"shas": "60efd87286ac7d0bad1c82b41aa706da1b8bfe1e..765d446ef0c20d0d2647f6b757516b4321e8036a"
}
,{
"testCaseDescription": "ruby-conditional-assignment-delete-test",
@ -305,7 +305,7 @@
" x &&= 7"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "b2e02b7f3e454208a01199c2196b0a39eaabe4e0..923f68eae40f6ea6b48688f9c0170ceb67f54fb3"
"shas": "765d446ef0c20d0d2647f6b757516b4321e8036a..7cebc7d3fadf40e3d343204d3efb58a98d49acca"
}
,{
"testCaseDescription": "ruby-conditional-assignment-delete-rest-test",
@ -343,5 +343,5 @@
"-x &&= 7"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "923f68eae40f6ea6b48688f9c0170ceb67f54fb3..016efbbed35a70176cf3ec8bb08369cf7889c2e7"
"shas": "7cebc7d3fadf40e3d343204d3efb58a98d49acca..cb8ab2b8261268a2f01762a64644f0acad9bb905"
}]

View File

@ -0,0 +1,442 @@
[{
"testCaseDescription": "ruby-delimiter-insert-test",
"expectedResult": {
"changes": {
"delimiter.rb": [
{
"span": {
"insert": {
"start": [
2,
1
],
"end": [
2,
10
]
}
},
"summary": "Added the %q<a<b>c> string"
}
]
},
"errors": {
"delimiter.rb": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
6
]
}
},
"summary": "Added '%q#a#' at line 1, column 1 - line 1, column 6"
},
{
"span": {
"insert": {
"start": [
3,
1
],
"end": [
7,
1
]
}
},
"summary": "Added '%#a#\n%Q#a#\n%<a<b>c>\n%Q<a<b>c>\n' at line 3, column 1 - line 7, column 1"
}
]
}
},
"filePaths": [
"delimiter.rb"
],
"patch": [
"diff --git a/delimiter.rb b/delimiter.rb",
"index e69de29..8ec39b8 100644",
"--- a/delimiter.rb",
"+++ b/delimiter.rb",
"@@ -0,0 +1,6 @@",
"+%q#a#",
"+%q<a<b>c>",
"+%#a#",
"+%Q#a#",
"+%<a<b>c>",
"+%Q<a<b>c>"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "84505dded647bd3b81bb4d834c05b8e7ca70d41a..b5db8fd44280952f671ce151ecd795fa29cdfe75"
}
,{
"testCaseDescription": "ruby-delimiter-replacement-insert-test",
"expectedResult": {
"changes": {
"delimiter.rb": [
{
"span": {
"replace": [
{
"start": [
1,
1
],
"end": [
1,
6
]
},
{
"start": [
1,
1
],
"end": [
19,
1
]
}
]
},
"summary": "Replaced '%q#a#' at line 1, column 1 - line 1, column 6 with '%q/b/\n%q{d{e}f}\n%/b/\n%Q/b/\n%{d{e}f}\n%Q{d{e}f}\n%q#a#\n%q<a<b>c>\n%#a#\n%Q#a#\n%<a<b>c>\n%Q<a<b>c>\n%q#a#\n%q<a<b>c>\n%#a#\n%Q#a#\n%<a<b>c>\n%Q<a<b>c>\n' at line 1, column 1 - line 19, column 1"
}
]
},
"errors": {}
},
"filePaths": [
"delimiter.rb"
],
"patch": [
"diff --git a/delimiter.rb b/delimiter.rb",
"index 8ec39b8..5b0f7ec 100644",
"--- a/delimiter.rb",
"+++ b/delimiter.rb",
"@@ -1,3 +1,15 @@",
"+%q/b/",
"+%q{d{e}f}",
"+%/b/",
"+%Q/b/",
"+%{d{e}f}",
"+%Q{d{e}f}",
"+%q#a#",
"+%q<a<b>c>",
"+%#a#",
"+%Q#a#",
"+%<a<b>c>",
"+%Q<a<b>c>",
" %q#a#",
" %q<a<b>c>",
" %#a#"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "b5db8fd44280952f671ce151ecd795fa29cdfe75..a616cca6e3cd6e0f684b90e480eed9103aa821db"
}
,{
"testCaseDescription": "ruby-delimiter-delete-insert-test",
"expectedResult": {
"changes": {
"delimiter.rb": [
{
"span": {
"replace": [
{
"start": [
1,
1
],
"end": [
19,
1
]
},
{
"start": [
1,
1
],
"end": [
19,
1
]
}
]
},
"summary": "Replaced '%q/b/\n%q{d{e}f}\n%/b/\n%Q/b/\n%{d{e}f}\n%Q{d{e}f}\n%q#a#\n%q<a<b>c>\n%#a#\n%Q#a#\n%<a<b>c>\n%Q<a<b>c>\n%q#a#\n%q<a<b>c>\n%#a#\n%Q#a#\n%<a<b>c>\n%Q<a<b>c>\n' at line 1, column 1 - line 19, column 1 with '%q#a#\n%q<a<b>c>\n%#a#\n%Q#a#\n%<a<b>c>\n%Q<a<b>c>\n%q#a#\n%q<a<b>c>\n%#a#\n%Q#a#\n%<a<b>c>\n%Q<a<b>c>\n%q#a#\n%q<a<b>c>\n%#a#\n%Q#a#\n%<a<b>c>\n%Q<a<b>c>\n' at line 1, column 1 - line 19, column 1"
}
]
},
"errors": {}
},
"filePaths": [
"delimiter.rb"
],
"patch": [
"diff --git a/delimiter.rb b/delimiter.rb",
"index 5b0f7ec..64d6df4 100644",
"--- a/delimiter.rb",
"+++ b/delimiter.rb",
"@@ -1,9 +1,9 @@",
"-%q/b/",
"-%q{d{e}f}",
"-%/b/",
"-%Q/b/",
"-%{d{e}f}",
"-%Q{d{e}f}",
"+%q#a#",
"+%q<a<b>c>",
"+%#a#",
"+%Q#a#",
"+%<a<b>c>",
"+%Q<a<b>c>",
" %q#a#",
" %q<a<b>c>",
" %#a#"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "a616cca6e3cd6e0f684b90e480eed9103aa821db..498ac115883283d917e334676c8b3f6490b90b4b"
}
,{
"testCaseDescription": "ruby-delimiter-replacement-test",
"expectedResult": {
"changes": {
"delimiter.rb": [
{
"span": {
"replace": [
{
"start": [
1,
1
],
"end": [
19,
1
]
},
{
"start": [
1,
1
],
"end": [
19,
1
]
}
]
},
"summary": "Replaced '%q#a#\n%q<a<b>c>\n%#a#\n%Q#a#\n%<a<b>c>\n%Q<a<b>c>\n%q#a#\n%q<a<b>c>\n%#a#\n%Q#a#\n%<a<b>c>\n%Q<a<b>c>\n%q#a#\n%q<a<b>c>\n%#a#\n%Q#a#\n%<a<b>c>\n%Q<a<b>c>\n' at line 1, column 1 - line 19, column 1 with '%q/b/\n%q{d{e}f}\n%/b/\n%Q/b/\n%{d{e}f}\n%Q{d{e}f}\n%q#a#\n%q<a<b>c>\n%#a#\n%Q#a#\n%<a<b>c>\n%Q<a<b>c>\n%q#a#\n%q<a<b>c>\n%#a#\n%Q#a#\n%<a<b>c>\n%Q<a<b>c>\n' at line 1, column 1 - line 19, column 1"
}
]
},
"errors": {}
},
"filePaths": [
"delimiter.rb"
],
"patch": [
"diff --git a/delimiter.rb b/delimiter.rb",
"index 64d6df4..5b0f7ec 100644",
"--- a/delimiter.rb",
"+++ b/delimiter.rb",
"@@ -1,9 +1,9 @@",
"-%q#a#",
"-%q<a<b>c>",
"-%#a#",
"-%Q#a#",
"-%<a<b>c>",
"-%Q<a<b>c>",
"+%q/b/",
"+%q{d{e}f}",
"+%/b/",
"+%Q/b/",
"+%{d{e}f}",
"+%Q{d{e}f}",
" %q#a#",
" %q<a<b>c>",
" %#a#"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "498ac115883283d917e334676c8b3f6490b90b4b..a0379f3891ba6dee20ef833219aeaac978b02ccf"
}
,{
"testCaseDescription": "ruby-delimiter-delete-replacement-test",
"expectedResult": {
"changes": {
"delimiter.rb": [
{
"span": {
"replace": [
{
"start": [
1,
1
],
"end": [
19,
1
]
},
{
"start": [
1,
1
],
"end": [
13,
1
]
}
]
},
"summary": "Replaced '%q/b/\n%q{d{e}f}\n%/b/\n%Q/b/\n%{d{e}f}\n%Q{d{e}f}\n%q#a#\n%q<a<b>c>\n%#a#\n%Q#a#\n%<a<b>c>\n%Q<a<b>c>\n%q#a#\n%q<a<b>c>\n%#a#\n%Q#a#\n%<a<b>c>\n%Q<a<b>c>\n' at line 1, column 1 - line 19, column 1 with '%q#a#\n%q<a<b>c>\n%#a#\n%Q#a#\n%<a<b>c>\n%Q<a<b>c>\n%q/b/\n%q{d{e}f}\n%/b/\n%Q/b/\n%{d{e}f}\n%Q{d{e}f}\n' at line 1, column 1 - line 13, column 1"
}
]
},
"errors": {}
},
"filePaths": [
"delimiter.rb"
],
"patch": [
"diff --git a/delimiter.rb b/delimiter.rb",
"index 5b0f7ec..2095136 100644",
"--- a/delimiter.rb",
"+++ b/delimiter.rb",
"@@ -1,18 +1,12 @@",
"-%q/b/",
"-%q{d{e}f}",
"-%/b/",
"-%Q/b/",
"-%{d{e}f}",
"-%Q{d{e}f}",
"-%q#a#",
"-%q<a<b>c>",
"-%#a#",
"-%Q#a#",
"-%<a<b>c>",
"-%Q<a<b>c>",
" %q#a#",
" %q<a<b>c>",
" %#a#",
" %Q#a#",
" %<a<b>c>",
" %Q<a<b>c>",
"+%q/b/",
"+%q{d{e}f}",
"+%/b/",
"+%Q/b/",
"+%{d{e}f}",
"+%Q{d{e}f}"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "a0379f3891ba6dee20ef833219aeaac978b02ccf..7757d2667f820f6f404d11ca52a7f42da98cfe2a"
}
,{
"testCaseDescription": "ruby-delimiter-delete-test",
"expectedResult": {
"changes": {
"delimiter.rb": [
{
"span": {
"replace": [
{
"start": [
1,
1
],
"end": [
13,
1
]
},
{
"start": [
1,
1
],
"end": [
7,
1
]
}
]
},
"summary": "Replaced '%q#a#\n%q<a<b>c>\n%#a#\n%Q#a#\n%<a<b>c>\n%Q<a<b>c>\n%q/b/\n%q{d{e}f}\n%/b/\n%Q/b/\n%{d{e}f}\n%Q{d{e}f}\n' at line 1, column 1 - line 13, column 1 with '%q/b/\n%q{d{e}f}\n%/b/\n%Q/b/\n%{d{e}f}\n%Q{d{e}f}\n' at line 1, column 1 - line 7, column 1"
}
]
},
"errors": {}
},
"filePaths": [
"delimiter.rb"
],
"patch": [
"diff --git a/delimiter.rb b/delimiter.rb",
"index 2095136..3843090 100644",
"--- a/delimiter.rb",
"+++ b/delimiter.rb",
"@@ -1,9 +1,3 @@",
"-%q#a#",
"-%q<a<b>c>",
"-%#a#",
"-%Q#a#",
"-%<a<b>c>",
"-%Q<a<b>c>",
" %q/b/",
" %q{d{e}f}",
" %/b/"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "7757d2667f820f6f404d11ca52a7f42da98cfe2a..8f01b6c239fb2bf646b9963683110e5b9906f92d"
}
,{
"testCaseDescription": "ruby-delimiter-delete-rest-test",
"expectedResult": {
"changes": {},
"errors": {
"delimiter.rb": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
7,
1
]
}
},
"summary": "Deleted '%q/b/\n%q{d{e}f}\n%/b/\n%Q/b/\n%{d{e}f}\n%Q{d{e}f}\n' at line 1, column 1 - line 7, column 1"
}
]
}
},
"filePaths": [
"delimiter.rb"
],
"patch": [
"diff --git a/delimiter.rb b/delimiter.rb",
"index 3843090..e69de29 100644",
"--- a/delimiter.rb",
"+++ b/delimiter.rb",
"@@ -1,6 +0,0 @@",
"-%q/b/",
"-%q{d{e}f}",
"-%/b/",
"-%Q/b/",
"-%{d{e}f}",
"-%Q{d{e}f}"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "8f01b6c239fb2bf646b9963683110e5b9906f92d..47bca44cc480ee3deec0a831bf61ac02f9ad0be3"
}]

View File

@ -66,7 +66,7 @@
"+foo[bar] = 1"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "72f935172c31da7ddd21bf1a12c7baeb4fdb3419..1b88f5fd6eaa6af48eef0522c818919cc89fe0f3"
"shas": "30d6a1e091e9063ca143102ef787d5d51b94c095..b82bd8becf9e32f4247ad0e6476a3861bbb5532e"
}
,{
"testCaseDescription": "ruby-element-reference-replacement-insert-test",
@ -171,7 +171,7 @@
" foo[bar] = 1"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "1b88f5fd6eaa6af48eef0522c818919cc89fe0f3..3114590b91f23ee9d8e9656e3c597b7710c5f08a"
"shas": "b82bd8becf9e32f4247ad0e6476a3861bbb5532e..76fd9f876d09e533d6ded757a9aa787d1a33c41d"
}
,{
"testCaseDescription": "ruby-element-reference-delete-insert-test",
@ -297,7 +297,7 @@
" foo[bar] = 1"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "3114590b91f23ee9d8e9656e3c597b7710c5f08a..470abdcd5adc26a44bbd001539d731e36d417046"
"shas": "76fd9f876d09e533d6ded757a9aa787d1a33c41d..d5c5819a87fd828285633b154c68022edf965c44"
}
,{
"testCaseDescription": "ruby-element-reference-replacement-test",
@ -423,7 +423,7 @@
" foo[bar] = 1"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "470abdcd5adc26a44bbd001539d731e36d417046..ee5fbeec520aa431dcf290c4a7eb220d2bb2b674"
"shas": "d5c5819a87fd828285633b154c68022edf965c44..36137248fc8b3bf929cd5bb1b8e4ba71fd7d90c7"
}
,{
"testCaseDescription": "ruby-element-reference-delete-replacement-test",
@ -560,7 +560,7 @@
"+x[:\"c\"]"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "ee5fbeec520aa431dcf290c4a7eb220d2bb2b674..3fb44d52e9f12fd560773298d89b1721698f358a"
"shas": "36137248fc8b3bf929cd5bb1b8e4ba71fd7d90c7..d2370083ae9deaae75f196d514e3a1408a71281d"
}
,{
"testCaseDescription": "ruby-element-reference-delete-test",
@ -632,7 +632,7 @@
" x[:\"c\"]"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "3fb44d52e9f12fd560773298d89b1721698f358a..0207d27c72e4662c924f3f408396247dbc990739"
"shas": "d2370083ae9deaae75f196d514e3a1408a71281d..0c513b9786263c61e3ab29b5434d024ddb8c755c"
}
,{
"testCaseDescription": "ruby-element-reference-delete-rest-test",
@ -686,5 +686,5 @@
"-x[:\"c\"]"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "0207d27c72e4662c924f3f408396247dbc990739..72e1f4912f54a936266422abbb53a9c2fc864992"
"shas": "0c513b9786263c61e3ab29b5434d024ddb8c755c..fc0411352ae036e9bb70161b0d14defacee8bba0"
}]

View File

@ -36,7 +36,7 @@
"+end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "4fed48f0abf8058f93dbb4c7361358c434c9bb6d..e1fa35de3fc02773c68ea68b126d5a42843cff03"
"shas": "2ff4d86a6d35676f4d5311fa3886d7387af54924..29a9558e267bea16433998580c8ec717cd68d4ab"
}
,{
"testCaseDescription": "ruby-else-insert-test",
@ -77,7 +77,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "e1fa35de3fc02773c68ea68b126d5a42843cff03..37109135d5e8872de06650f214f53d5782718911"
"shas": "29a9558e267bea16433998580c8ec717cd68d4ab..3fd6fd0ec7fd1e2de23a0d0f2998b3147d2d2f5c"
}
,{
"testCaseDescription": "ruby-else-replacement-test",
@ -131,7 +131,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "37109135d5e8872de06650f214f53d5782718911..e9f5d111cea4eb38ef60719ace819f23d38d2c7b"
"shas": "3fd6fd0ec7fd1e2de23a0d0f2998b3147d2d2f5c..acbbd392c2caac78eb60826fd884fabfeb0dbf08"
}
,{
"testCaseDescription": "ruby-else-delete-replacement-test",
@ -185,7 +185,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "e9f5d111cea4eb38ef60719ace819f23d38d2c7b..343ff65611626b914e8d8a3e97c6159ef40e1262"
"shas": "acbbd392c2caac78eb60826fd884fabfeb0dbf08..5bc34926e7bb122fc5b7b3dddefa691b7875e502"
}
,{
"testCaseDescription": "ruby-else-delete-insert-test",
@ -226,7 +226,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "343ff65611626b914e8d8a3e97c6159ef40e1262..d849d51a7355131232dbf59bd5b3d20fa660b059"
"shas": "5bc34926e7bb122fc5b7b3dddefa691b7875e502..24d55c8bd83cce5ba65c0e75a463930c9b260322"
}
,{
"testCaseDescription": "ruby-else-teardown-test",
@ -266,5 +266,5 @@
"-end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "d849d51a7355131232dbf59bd5b3d20fa660b059..f6f1229dfdaa0bf7f5b33425764b3b4423e6e28c"
"shas": "24d55c8bd83cce5ba65c0e75a463930c9b260322..8a4389d6e78ed0567ca7fc393775391562f88977"
}]

View File

@ -36,7 +36,7 @@
"+end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "d571b61c3d53f568ed84cc6dad1c76cea2abe08d..adfbf640ca01c2a8140a30b71499b03d8e9602db"
"shas": "8a4389d6e78ed0567ca7fc393775391562f88977..ed39c30e5defa94de8be6be65a42a8262810ebc0"
}
,{
"testCaseDescription": "ruby-elsif-insert-test",
@ -77,7 +77,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "adfbf640ca01c2a8140a30b71499b03d8e9602db..c56c2c77e578103675c05343baa6ac9b57de69c9"
"shas": "ed39c30e5defa94de8be6be65a42a8262810ebc0..680779160502b22661771647f95e78b2d9266e6d"
}
,{
"testCaseDescription": "ruby-elsif-replacement-test",
@ -119,7 +119,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "c56c2c77e578103675c05343baa6ac9b57de69c9..9d868b4d65a258ca50a0432f32d6ce476a0ec90b"
"shas": "680779160502b22661771647f95e78b2d9266e6d..7389a9843b6496fa994bfba12763abb7f8391255"
}
,{
"testCaseDescription": "ruby-elsif-delete-replacement-test",
@ -161,7 +161,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "9d868b4d65a258ca50a0432f32d6ce476a0ec90b..ae5492ab9e3097846c7c9365e1dba37799da7cf0"
"shas": "7389a9843b6496fa994bfba12763abb7f8391255..98257586cd8aa85ee24aefc9dddc8e1c924da2fa"
}
,{
"testCaseDescription": "ruby-elsif-delete-insert-test",
@ -202,7 +202,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "ae5492ab9e3097846c7c9365e1dba37799da7cf0..3c79699074347065dc50d414845fc7dada45dc0e"
"shas": "98257586cd8aa85ee24aefc9dddc8e1c924da2fa..a1fe6dc0653ec934d1af318604080042b1ff6c93"
}
,{
"testCaseDescription": "ruby-elsif-teardown-test",
@ -242,5 +242,5 @@
"-end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "3c79699074347065dc50d414845fc7dada45dc0e..291c23618b5574de7402f710d7feba58b0edbcc2"
"shas": "a1fe6dc0653ec934d1af318604080042b1ff6c93..42b0246372b0fd676d405fb14038755a556e6098"
}]

View File

@ -36,7 +36,7 @@
"+}"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "82c6448a6e4e2d885ac6f12d9f86cdb1d6d1dd2d..d2ed526fb844a051febd47469d494caa75fe91f0"
"shas": "5d269ca117a9d17e62cca79477cef2aef5f566a9..968c9c8d6dee1f1792840bff499dc39d72174d21"
}
,{
"testCaseDescription": "ruby-end-block-replacement-insert-test",
@ -113,7 +113,7 @@
" }"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "d2ed526fb844a051febd47469d494caa75fe91f0..d63a52f07a0f0bcf858af8cd8be7547da36d07f9"
"shas": "968c9c8d6dee1f1792840bff499dc39d72174d21..cedb0d7f48ee7232094e2cd2b03122095737275f"
}
,{
"testCaseDescription": "ruby-end-block-delete-insert-test",
@ -187,7 +187,7 @@
" foo"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "d63a52f07a0f0bcf858af8cd8be7547da36d07f9..e81caf1424dc328e8ab385e9c747a63d54698444"
"shas": "cedb0d7f48ee7232094e2cd2b03122095737275f..ac843e786e968c5c12adcfcf855b526ed83d940c"
}
,{
"testCaseDescription": "ruby-end-block-replacement-test",
@ -258,7 +258,7 @@
" foo"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "e81caf1424dc328e8ab385e9c747a63d54698444..e84b2b99dab363e56f8785e8b39c18a71009aa4e"
"shas": "ac843e786e968c5c12adcfcf855b526ed83d940c..922ce43859906da1321a6f1de80e65157e18e6dd"
}
,{
"testCaseDescription": "ruby-end-block-delete-replacement-test",
@ -307,7 +307,7 @@
" }"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "e84b2b99dab363e56f8785e8b39c18a71009aa4e..d064522cbf35b19bb71d3999617cd95576ef5d15"
"shas": "922ce43859906da1321a6f1de80e65157e18e6dd..97eb6c638c98f658d2242ef6f976fb105a0c67ad"
}
,{
"testCaseDescription": "ruby-end-block-delete-test",
@ -350,7 +350,7 @@
" bar"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "d064522cbf35b19bb71d3999617cd95576ef5d15..f28e52757945cbfc7235452bdfb242f59fe209b6"
"shas": "97eb6c638c98f658d2242ef6f976fb105a0c67ad..44e263d1a46f5fe9d089f321398ad2bf255aee9a"
}
,{
"testCaseDescription": "ruby-end-block-delete-rest-test",
@ -406,5 +406,5 @@
"-}"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "f28e52757945cbfc7235452bdfb242f59fe209b6..ad37c6bddef1ebfea76c652b142476e8268b9f9f"
"shas": "44e263d1a46f5fe9d089f321398ad2bf255aee9a..ac23e27b99567c353b1c73314a2bd02f4d574873"
}]

View File

@ -36,7 +36,7 @@
"+end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "f6f1229dfdaa0bf7f5b33425764b3b4423e6e28c..b10ccba8ad4f11f74e74fe5eca3b97e5a604aff2"
"shas": "42b0246372b0fd676d405fb14038755a556e6098..18d15551fcdcecaf22a3a9332d43286aefea07a2"
}
,{
"testCaseDescription": "ruby-ensure-insert-test",
@ -77,7 +77,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "b10ccba8ad4f11f74e74fe5eca3b97e5a604aff2..fa5e430655c2dcff9f8c706046b6c5a230172103"
"shas": "18d15551fcdcecaf22a3a9332d43286aefea07a2..abcece3410afab7ed32a78778434832753c35b1c"
}
,{
"testCaseDescription": "ruby-ensure-replacement-test",
@ -131,7 +131,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "fa5e430655c2dcff9f8c706046b6c5a230172103..5eb9ced9edc1f64762468d4378055a3c44c7688c"
"shas": "abcece3410afab7ed32a78778434832753c35b1c..1991c9b2f6ae3366b81981fa1ce7bec31e5d4a2e"
}
,{
"testCaseDescription": "ruby-ensure-delete-replacement-test",
@ -185,7 +185,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "5eb9ced9edc1f64762468d4378055a3c44c7688c..a8e6dd4fff6bf1580be14213e216207ed53cf059"
"shas": "1991c9b2f6ae3366b81981fa1ce7bec31e5d4a2e..9bc71c330a8e136681938aabdbcc549cc1ffbd89"
}
,{
"testCaseDescription": "ruby-ensure-delete-insert-test",
@ -226,7 +226,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "a8e6dd4fff6bf1580be14213e216207ed53cf059..324595aac765613b219d4e80d627e6eb186cec57"
"shas": "9bc71c330a8e136681938aabdbcc549cc1ffbd89..683c2b96d80b7d24671b23ab2dae4f3345784634"
}
,{
"testCaseDescription": "ruby-ensure-teardown-test",
@ -266,5 +266,5 @@
"-end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "324595aac765613b219d4e80d627e6eb186cec57..5df8bfbe172193e6124da27f457fa6fb19547593"
"shas": "683c2b96d80b7d24671b23ab2dae4f3345784634..6e48a275e33b14514779ec5aff0289d628720452"
}]

View File

@ -36,7 +36,7 @@
"+end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "b8e7a4d5034214328f3391e3c6001076f5bb6ec9..1e4b5ce7ca850c42c111c21fd9d8f38990fc3cbf"
"shas": "61eaa653015a52dcb006becd8a923379d8bef53e..b6efb16a79876e9788fd6f18127c1d69688d0006"
}
,{
"testCaseDescription": "ruby-for-replacement-insert-test",
@ -97,7 +97,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "1e4b5ce7ca850c42c111c21fd9d8f38990fc3cbf..c2e6812edb506dd8a3b9419e33f6d21c4998a1b7"
"shas": "b6efb16a79876e9788fd6f18127c1d69688d0006..31073759b84050604542a0587b6abec1316245ca"
}
,{
"testCaseDescription": "ruby-for-delete-insert-test",
@ -153,7 +153,7 @@
" f"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "c2e6812edb506dd8a3b9419e33f6d21c4998a1b7..bd3974e67a2154631e5a3348a1c4d13d38277cf7"
"shas": "31073759b84050604542a0587b6abec1316245ca..b7892e199dc3cb17950975f08ae09d906f368f07"
}
,{
"testCaseDescription": "ruby-for-replacement-test",
@ -209,7 +209,7 @@
" f"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "bd3974e67a2154631e5a3348a1c4d13d38277cf7..7547579e6c4c271afb05ba08271f0ed4b4b678ea"
"shas": "b7892e199dc3cb17950975f08ae09d906f368f07..5f53a7f6d11854cd013d70941b16d566c82a0e6c"
}
,{
"testCaseDescription": "ruby-for-delete-replacement-test",
@ -287,7 +287,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "7547579e6c4c271afb05ba08271f0ed4b4b678ea..467953257426ae06a5f6026a93d2820676c903c0"
"shas": "5f53a7f6d11854cd013d70941b16d566c82a0e6c..4c375b041c9302fcc3f3d23ae5895b8920c4032c"
}
,{
"testCaseDescription": "ruby-for-delete-test",
@ -330,7 +330,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "467953257426ae06a5f6026a93d2820676c903c0..1fd6b5413c62cdb0f0b1822736dfdacdbbc267a0"
"shas": "4c375b041c9302fcc3f3d23ae5895b8920c4032c..0a1a4f29065826ea3b3f50c7440ea74eac466b94"
}
,{
"testCaseDescription": "ruby-for-delete-rest-test",
@ -370,5 +370,5 @@
"-end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "1fd6b5413c62cdb0f0b1822736dfdacdbbc267a0..72f935172c31da7ddd21bf1a12c7baeb4fdb3419"
"shas": "0a1a4f29065826ea3b3f50c7440ea74eac466b94..30d6a1e091e9063ca143102ef787d5d51b94c095"
}]

View File

@ -34,7 +34,7 @@
"+{ :key1 => \"value\", :key2 => 1, \"key3\" => false, :\"symbol_key\" => 10 }"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "5c66ec3700761ca4868e703f576449f5a190e5a5..8ed1097ecb63f00552d0dcf65c4d7f97e554660a"
"shas": "411726f78f841009c9db776ee25a39131cd771f9..9eec357c2be8f976ef87c185266904b5eb8e03af"
}
,{
"testCaseDescription": "ruby-hash-replacement-insert-test",
@ -89,7 +89,7 @@
" { :key1 => \"value\", :key2 => 1, \"key3\" => false, :\"symbol_key\" => 10 }"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "8ed1097ecb63f00552d0dcf65c4d7f97e554660a..3f945480d1d0fdcff6cc85bbd257acb2471d9eb3"
"shas": "9eec357c2be8f976ef87c185266904b5eb8e03af..6a4230508c027ee65504e533be287cd434ac08f6"
}
,{
"testCaseDescription": "ruby-hash-delete-insert-test",
@ -217,7 +217,7 @@
" { :key1 => \"value\", :key2 => 1, \"key3\" => false, :\"symbol_key\" => 10 }"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "3f945480d1d0fdcff6cc85bbd257acb2471d9eb3..e651384951227cdfcca2e2aa341af92e0102c265"
"shas": "6a4230508c027ee65504e533be287cd434ac08f6..109c19323a2fcbb3ca6899a8d9271069da87ef1b"
}
,{
"testCaseDescription": "ruby-hash-replacement-test",
@ -342,7 +342,7 @@
" { :key1 => \"value\", :key2 => 1, \"key3\" => false, :\"symbol_key\" => 10 }"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "e651384951227cdfcca2e2aa341af92e0102c265..acf16b47847c4ad4eeea4f57c6591d882b4d7b81"
"shas": "109c19323a2fcbb3ca6899a8d9271069da87ef1b..90c1cbf3b9f1812c48e79f91ab985476c7027096"
}
,{
"testCaseDescription": "ruby-hash-delete-replacement-test",
@ -413,7 +413,7 @@
"+{ key1: \"changed value\", key2: 2, key3: true }"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "acf16b47847c4ad4eeea4f57c6591d882b4d7b81..84a7aaf829ca724982d91d7067bd23f7e374d2a4"
"shas": "90c1cbf3b9f1812c48e79f91ab985476c7027096..79abffaacc172cdf4579b99319e47d99c4f88503"
}
,{
"testCaseDescription": "ruby-hash-delete-test",
@ -452,7 +452,7 @@
" { key1: \"changed value\", key2: 2, key3: true }"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "84a7aaf829ca724982d91d7067bd23f7e374d2a4..61ca4b1cef66d8a37f57f077826691d4b34ca91c"
"shas": "79abffaacc172cdf4579b99319e47d99c4f88503..72a5f67bafc0603fdda2f36e256c8e969dcc9d0e"
}
,{
"testCaseDescription": "ruby-hash-delete-rest-test",
@ -490,5 +490,5 @@
"-{ key1: \"changed value\", key2: 2, key3: true }"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "61ca4b1cef66d8a37f57f077826691d4b34ca91c..39c849e6aaf280116d0b8523fe9ae7af2ff7ffee"
"shas": "72a5f67bafc0603fdda2f36e256c8e969dcc9d0e..ee10d58031d9a00cb31cab48d79839b6333dbba7"
}]

View File

@ -34,7 +34,7 @@
"+print unless foo"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "4e2fff03bd38fd80461d8cac1a09c40ca80b2390..a156c775baf7ff53bfebb34f0b044ceca96516e0"
"shas": "0be4a3f29057260a213f73c63ef721522e3eae8a..700899854a88e3c80cd61052ca3ad180bd763871"
}
,{
"testCaseDescription": "ruby-if-unless-modifiers-replacement-insert-test",
@ -89,7 +89,7 @@
" print unless foo"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "a156c775baf7ff53bfebb34f0b044ceca96516e0..935c4f046aca16b663c3b7bbf15bb4e3b89df95f"
"shas": "700899854a88e3c80cd61052ca3ad180bd763871..2d5c5c02beccc8f58b655f174d5fa6a70e89113a"
}
,{
"testCaseDescription": "ruby-if-unless-modifiers-delete-insert-test",
@ -145,7 +145,7 @@
" print unless foo"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "935c4f046aca16b663c3b7bbf15bb4e3b89df95f..2f5c75839c978eb166b5ce29ddcb0c663222be8e"
"shas": "2d5c5c02beccc8f58b655f174d5fa6a70e89113a..9ee2a0165f3072ac747a150ddbc2df0f8e4acf53"
}
,{
"testCaseDescription": "ruby-if-unless-modifiers-replacement-test",
@ -201,7 +201,7 @@
" print unless foo"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "2f5c75839c978eb166b5ce29ddcb0c663222be8e..85ce995a212ec872107b09fd0baba8b62286c999"
"shas": "9ee2a0165f3072ac747a150ddbc2df0f8e4acf53..cedea863c700224ffe9ff7ba4bfce17ad685c98f"
}
,{
"testCaseDescription": "ruby-if-unless-modifiers-delete-replacement-test",
@ -272,7 +272,7 @@
"+print if foo"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "85ce995a212ec872107b09fd0baba8b62286c999..38fd6b10133d898160cd44223c081010ca440b6f"
"shas": "cedea863c700224ffe9ff7ba4bfce17ad685c98f..c73dad86a61cfbb727d3620d2dc84742b2015951"
}
,{
"testCaseDescription": "ruby-if-unless-modifiers-delete-test",
@ -311,7 +311,7 @@
" print if foo"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "38fd6b10133d898160cd44223c081010ca440b6f..52722842753439887074cefb1075c6a31015bc82"
"shas": "c73dad86a61cfbb727d3620d2dc84742b2015951..b5853506f2cd54ade1a55356f51c514b5d8befeb"
}
,{
"testCaseDescription": "ruby-if-unless-modifiers-delete-rest-test",
@ -349,5 +349,5 @@
"-print if foo"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "52722842753439887074cefb1075c6a31015bc82..c7d3f438c72d2ab2a09e3fa47ba1cf9b175d2a9b"
"shas": "b5853506f2cd54ade1a55356f51c514b5d8befeb..fc609dae9f5b27759a6c47f397fe6806e55f8679"
}]

View File

@ -40,7 +40,7 @@
"+end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "016efbbed35a70176cf3ec8bb08369cf7889c2e7..e64394684b86a0aa1426479d973d5fa65115c6d8"
"shas": "557278e45f081fc1ba8ff88abf254b66b89f8663..45c367a4870f12db4f213e74a1ae8281b1b69a65"
}
,{
"testCaseDescription": "ruby-if-replacement-insert-test",
@ -121,7 +121,7 @@
" elsif quux"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "e64394684b86a0aa1426479d973d5fa65115c6d8..3b952dad00efbf05e77af42fc337786d53c25ab0"
"shas": "45c367a4870f12db4f213e74a1ae8281b1b69a65..9ebb78739cf5abb68e686f93821ac505afb8b830"
}
,{
"testCaseDescription": "ruby-if-delete-insert-test",
@ -227,7 +227,7 @@
" bar"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "3b952dad00efbf05e77af42fc337786d53c25ab0..ecebede079885b31f55ce79cbe6a919b20618dd1"
"shas": "9ebb78739cf5abb68e686f93821ac505afb8b830..25acb973b7c66aaab82b4d0578e052bc9f959e7d"
}
,{
"testCaseDescription": "ruby-if-replacement-test",
@ -333,7 +333,7 @@
" bar"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "ecebede079885b31f55ce79cbe6a919b20618dd1..f34e4ac45eb68b1d48fe4e19559c716b1ae9765a"
"shas": "25acb973b7c66aaab82b4d0578e052bc9f959e7d..fbbf2e3c42f6fd4ff730417be227f42d94549a24"
}
,{
"testCaseDescription": "ruby-if-delete-replacement-test",
@ -391,7 +391,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "f34e4ac45eb68b1d48fe4e19559c716b1ae9765a..975011a6b4d433e9c281ccc29d9482c5aeca618c"
"shas": "fbbf2e3c42f6fd4ff730417be227f42d94549a24..3ca29bc450c83fd75d45b4fc80f2249c711b6f82"
}
,{
"testCaseDescription": "ruby-if-delete-test",
@ -438,7 +438,7 @@
" if y then"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "975011a6b4d433e9c281ccc29d9482c5aeca618c..e01119c665cbc563d41d8cd9492f8a2d7f04c15a"
"shas": "3ca29bc450c83fd75d45b4fc80f2249c711b6f82..01e22ab00e11352205949a24d3ca4938c4827a1f"
}
,{
"testCaseDescription": "ruby-if-delete-rest-test",
@ -494,5 +494,5 @@
"-end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "e01119c665cbc563d41d8cd9492f8a2d7f04c15a..4b3dda74358a83438349bc50dc9bb75e6d632e6a"
"shas": "01e22ab00e11352205949a24d3ca4938c4827a1f..ebf30d9e81a6785017c6440782c33494bfc733f9"
}]

View File

@ -50,7 +50,7 @@
"+\"foo #{bar}\""
],
"gitDir": "test/corpus/repos/ruby",
"shas": "2505617f30ca311da1378227cbf6a13d83647b91..ba6045bb44bd3872e04f0e0c67e330b73429defa"
"shas": "c0aa0ce3ae48f9845e1790cca61bfab311dc366b..25ea5a0b330d2e4c2b3de5e577ebe3fc5319c207"
}
,{
"testCaseDescription": "ruby-interpolation-replacement-insert-test",
@ -138,7 +138,7 @@
" \"foo #{bar}\""
],
"gitDir": "test/corpus/repos/ruby",
"shas": "ba6045bb44bd3872e04f0e0c67e330b73429defa..9eab77466f1fc1d8a2ceaed51eab7b16159d2c4c"
"shas": "25ea5a0b330d2e4c2b3de5e577ebe3fc5319c207..424bf8f3eafe5ce1487fcc94cb5e3327ee7a51a3"
}
,{
"testCaseDescription": "ruby-interpolation-delete-insert-test",
@ -221,7 +221,7 @@
" :\"foo #{bar}\""
],
"gitDir": "test/corpus/repos/ruby",
"shas": "9eab77466f1fc1d8a2ceaed51eab7b16159d2c4c..c23529986ecc8afd8cc26b6e54dc68f203488cd0"
"shas": "424bf8f3eafe5ce1487fcc94cb5e3327ee7a51a3..d494b48ae5a3ad7c6c4996a454420209e2ce5f6c"
}
,{
"testCaseDescription": "ruby-interpolation-replacement-test",
@ -304,7 +304,7 @@
" :\"foo #{bar}\""
],
"gitDir": "test/corpus/repos/ruby",
"shas": "c23529986ecc8afd8cc26b6e54dc68f203488cd0..477f525a5dd8fecc22f1eaaa4e77419e0255d2a9"
"shas": "d494b48ae5a3ad7c6c4996a454420209e2ce5f6c..341006d8c5bd3fa48ab3b834897ba3fe0ca175be"
}
,{
"testCaseDescription": "ruby-interpolation-delete-replacement-test",
@ -424,7 +424,7 @@
"+\"bar #{foo}\""
],
"gitDir": "test/corpus/repos/ruby",
"shas": "477f525a5dd8fecc22f1eaaa4e77419e0255d2a9..c84f76f558cce919ec1935a75ad1b830b4511ff8"
"shas": "341006d8c5bd3fa48ab3b834897ba3fe0ca175be..49f5d52bca997be870605c2b9f556a33c826b3d1"
}
,{
"testCaseDescription": "ruby-interpolation-delete-test",
@ -480,7 +480,7 @@
" \"bar #{foo}\""
],
"gitDir": "test/corpus/repos/ruby",
"shas": "c84f76f558cce919ec1935a75ad1b830b4511ff8..cf1a6e3114fde76b4c1d6ad65ac4c2c10f3a2b3a"
"shas": "49f5d52bca997be870605c2b9f556a33c826b3d1..8acceea55bd2460d0fe1af29859fdc4911b4626d"
}
,{
"testCaseDescription": "ruby-interpolation-delete-rest-test",
@ -534,5 +534,5 @@
"-\"bar #{foo}\""
],
"gitDir": "test/corpus/repos/ruby",
"shas": "cf1a6e3114fde76b4c1d6ad65ac4c2c10f3a2b3a..ef8d34476c23317120bf744df9d41b9110a04c03"
"shas": "8acceea55bd2460d0fe1af29859fdc4911b4626d..84505dded647bd3b81bb4d834c05b8e7ca70d41a"
}]

View File

@ -37,7 +37,7 @@
"+}"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "39e3abbd0e3332afc2314759fdd350cba39b8e28..39eba620219e1cc7172b218e7f7f4cc0b945515e"
"shas": "8b7b8b4e722327227408044c6fa34adba2974b73..6426552b70fc5eb5d7fa569b4e0a98cc303be612"
}
,{
"testCaseDescription": "ruby-lambda-dash-rocket-replacement-insert-test",
@ -97,7 +97,7 @@
" 2"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "39eba620219e1cc7172b218e7f7f4cc0b945515e..db5ebcd81ad82fbb223f7ba862191d01280823bd"
"shas": "6426552b70fc5eb5d7fa569b4e0a98cc303be612..c87d23482af7d04b446b171cb755454999679b18"
}
,{
"testCaseDescription": "ruby-lambda-dash-rocket-delete-insert-test",
@ -154,7 +154,7 @@
" 2"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "db5ebcd81ad82fbb223f7ba862191d01280823bd..f31ea619acedac7aafa78d4821e3359c29837a2e"
"shas": "c87d23482af7d04b446b171cb755454999679b18..d3f5b8efe61e3a88b5da069df00b3b5ed5e37f7f"
}
,{
"testCaseDescription": "ruby-lambda-dash-rocket-replacement-test",
@ -211,7 +211,7 @@
" 2"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "f31ea619acedac7aafa78d4821e3359c29837a2e..78558177fbe1e8a9b635366d37dca7bc63c35a89"
"shas": "d3f5b8efe61e3a88b5da069df00b3b5ed5e37f7f..fc7f1da1a3c2eace0658a2c5911ae632f1561eda"
}
,{
"testCaseDescription": "ruby-lambda-dash-rocket-delete-replacement-test",
@ -288,7 +288,7 @@
"+-> { foo }"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "78558177fbe1e8a9b635366d37dca7bc63c35a89..1b5da246d2f7c8e084437f516a1e0acef8a668b5"
"shas": "fc7f1da1a3c2eace0658a2c5911ae632f1561eda..ad3f5e4813c7aaf846fa638c83d6e687b3f69c8e"
}
,{
"testCaseDescription": "ruby-lambda-dash-rocket-delete-test",
@ -330,7 +330,7 @@
" -> { foo }"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "1b5da246d2f7c8e084437f516a1e0acef8a668b5..885c3dd4bc6b78521a51d05585cd3600901ebc5f"
"shas": "ad3f5e4813c7aaf846fa638c83d6e687b3f69c8e..4898c6e117037692286eb99ea323a99afe964b71"
}
,{
"testCaseDescription": "ruby-lambda-dash-rocket-delete-rest-test",
@ -368,5 +368,5 @@
"--> { foo }"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "885c3dd4bc6b78521a51d05585cd3600901ebc5f..18022ae6ebbe9a88b3eaf0cfa0654e8f8bc5dd01"
"shas": "4898c6e117037692286eb99ea323a99afe964b71..ce6c04eb7c52189c6d67b990fed4932e4e23e766"
}]

View File

@ -34,7 +34,7 @@
"+lambda { foo }"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "18022ae6ebbe9a88b3eaf0cfa0654e8f8bc5dd01..3056cfc87793da5967931201f46bc12dc4186bf5"
"shas": "ce6c04eb7c52189c6d67b990fed4932e4e23e766..01ffbf36876b86147eac9f653dac0ce9f4915ade"
}
,{
"testCaseDescription": "ruby-lambda-replacement-insert-test",
@ -89,7 +89,7 @@
" lambda { foo }"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "3056cfc87793da5967931201f46bc12dc4186bf5..a33da9171f4f363df081fa60a58279175ea6bbc7"
"shas": "01ffbf36876b86147eac9f653dac0ce9f4915ade..c1d874903d86f0c091f8e9c3b5fd2759172974d5"
}
,{
"testCaseDescription": "ruby-lambda-delete-insert-test",
@ -142,7 +142,7 @@
" lambda { foo }"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "a33da9171f4f363df081fa60a58279175ea6bbc7..e52658a62a6c3953d8382d0296c267b2a9a3b3dc"
"shas": "c1d874903d86f0c091f8e9c3b5fd2759172974d5..bb6bde96443a965ba381980062ceca6f0e149091"
}
,{
"testCaseDescription": "ruby-lambda-replacement-test",
@ -195,7 +195,7 @@
" lambda { foo }"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "e52658a62a6c3953d8382d0296c267b2a9a3b3dc..522cd601966aa3e9f5fc0f033f81cbefcd706669"
"shas": "bb6bde96443a965ba381980062ceca6f0e149091..96f699cc68e4ef94fd15989ae0232f008b30a447"
}
,{
"testCaseDescription": "ruby-lambda-delete-replacement-test",
@ -266,7 +266,7 @@
"+lambda { |x| x + 1 }"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "522cd601966aa3e9f5fc0f033f81cbefcd706669..1f004455547e75075f1c16f62433c080571f69ae"
"shas": "96f699cc68e4ef94fd15989ae0232f008b30a447..755f0e33eb48dc34e1d31c853c3190bd49d93d56"
}
,{
"testCaseDescription": "ruby-lambda-delete-test",
@ -305,7 +305,7 @@
" lambda { |x| x + 1 }"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "1f004455547e75075f1c16f62433c080571f69ae..fb578efc5242fd49d72fc4e06e75adf0320ef31d"
"shas": "755f0e33eb48dc34e1d31c853c3190bd49d93d56..6356d2193447b1435a16759e047fa0584cf6a060"
}
,{
"testCaseDescription": "ruby-lambda-delete-rest-test",
@ -343,5 +343,5 @@
"-lambda { |x| x + 1 }"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "fb578efc5242fd49d72fc4e06e75adf0320ef31d..b8e7a4d5034214328f3391e3c6001076f5bb6ec9"
"shas": "6356d2193447b1435a16759e047fa0584cf6a060..61eaa653015a52dcb006becd8a923379d8bef53e"
}]

View File

@ -98,7 +98,7 @@
"+x **= 1"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "1965f9bdeebab8468bebb4f2c29230d3a42c255e..7c9d58241d4b18ce09a2b955af2bafa7c74982c0"
"shas": "47bca44cc480ee3deec0a831bf61ac02f9ad0be3..52af66bbf29927bf560b62a944260711c133cde1"
}
,{
"testCaseDescription": "ruby-math-assignment-replacement-insert-test",
@ -283,7 +283,7 @@
" x *= 1"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "7c9d58241d4b18ce09a2b955af2bafa7c74982c0..77f634748f5b464e65820506739bcc6a626d81b9"
"shas": "52af66bbf29927bf560b62a944260711c133cde1..e08b6d4000a545eaa158c7923d4ae9abab09a17f"
}
,{
"testCaseDescription": "ruby-math-assignment-delete-insert-test",
@ -337,7 +337,7 @@
" x /= 1"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "77f634748f5b464e65820506739bcc6a626d81b9..6440a1a1d8cc18d572ea627cb86b9be3f4dc5fa4"
"shas": "e08b6d4000a545eaa158c7923d4ae9abab09a17f..8a9c089b0e3f1fd94e17240b164269d001243adc"
}
,{
"testCaseDescription": "ruby-math-assignment-replacement-test",
@ -391,7 +391,7 @@
" x /= 1"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "6440a1a1d8cc18d572ea627cb86b9be3f4dc5fa4..68a0167bd4f2dc5c50eef89de25c6f8756a5f101"
"shas": "8a9c089b0e3f1fd94e17240b164269d001243adc..fa2c4e21054dbcb5844a587787fdc56fc0b59945"
}
,{
"testCaseDescription": "ruby-math-assignment-delete-replacement-test",
@ -533,7 +533,7 @@
" x /= 1"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "68a0167bd4f2dc5c50eef89de25c6f8756a5f101..f2ef306509a3a836a1c92fe0a1424d07689f6ed8"
"shas": "fa2c4e21054dbcb5844a587787fdc56fc0b59945..5a04106f26b21481c22654b0b2a90770b3a50f88"
}
,{
"testCaseDescription": "ruby-math-assignment-delete-test",
@ -638,7 +638,7 @@
" x *= 1"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "f2ef306509a3a836a1c92fe0a1424d07689f6ed8..baf89bf25b9b1f5ce42086e5175f7803db41fce6"
"shas": "5a04106f26b21481c22654b0b2a90770b3a50f88..140bf90611f0c2bde4bfd80dd4fc809173bb8812"
}
,{
"testCaseDescription": "ruby-math-assignment-delete-rest-test",
@ -740,5 +740,5 @@
"-x **= 1"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "baf89bf25b9b1f5ce42086e5175f7803db41fce6..bba90b67e00732e5f4f32a72f7b6b131d33dd30e"
"shas": "140bf90611f0c2bde4bfd80dd4fc809173bb8812..8391127f071abd9f1ac213c13eea4417eafc7db6"
}]

View File

@ -34,7 +34,7 @@
"+foo(:bar => true)"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "0b8859a7463c7f7199a43896da33717a33adb581..7a3b7b95e6772f9bbf12b2652d9e6b0543bbc3a9"
"shas": "2a9d54f70d1cd8ebbf9096801a8db3ef9767dea2..0157f83235c87c54acd73ae973fbd65f1fcfa8d0"
}
,{
"testCaseDescription": "ruby-method-calls-hash-args-replacement-insert-test",
@ -89,7 +89,7 @@
" foo(:bar => true)"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "7a3b7b95e6772f9bbf12b2652d9e6b0543bbc3a9..320658998fd4ee2f996c588145b11f7e5dd7cadc"
"shas": "0157f83235c87c54acd73ae973fbd65f1fcfa8d0..78f4a1db5a639836bb11161d8dc1f2875b8b8cd2"
}
,{
"testCaseDescription": "ruby-method-calls-hash-args-delete-insert-test",
@ -130,7 +130,7 @@
" foo(:bar => true)"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "320658998fd4ee2f996c588145b11f7e5dd7cadc..da4df9f65cee9943106807788bf7af9beccc0188"
"shas": "78f4a1db5a639836bb11161d8dc1f2875b8b8cd2..92e39b7774975c82c9bfe4710bd0792933e7b068"
}
,{
"testCaseDescription": "ruby-method-calls-hash-args-replacement-test",
@ -171,7 +171,7 @@
" foo(:bar => true)"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "da4df9f65cee9943106807788bf7af9beccc0188..77b4ab53916c053c65b82af83196dfa72e09381d"
"shas": "92e39b7774975c82c9bfe4710bd0792933e7b068..1ffc399a8493a37fa0499dd2a4ad5902979f6a3a"
}
,{
"testCaseDescription": "ruby-method-calls-hash-args-delete-replacement-test",
@ -242,7 +242,7 @@
"+foo(:bar => true, :baz => 1)"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "77b4ab53916c053c65b82af83196dfa72e09381d..ee4cd57d64dd1364a7c327c041537d4cbfe6dd41"
"shas": "1ffc399a8493a37fa0499dd2a4ad5902979f6a3a..9d8b90d89153a4d4f86d2b704da44c0d694e9952"
}
,{
"testCaseDescription": "ruby-method-calls-hash-args-delete-test",
@ -281,7 +281,7 @@
" foo(:bar => true, :baz => 1)"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "ee4cd57d64dd1364a7c327c041537d4cbfe6dd41..52b0d3ce05c4cac541b0a92675582e76547e1c37"
"shas": "9d8b90d89153a4d4f86d2b704da44c0d694e9952..d0722c05e98a0fbde2689e6ce7e055f83cefd476"
}
,{
"testCaseDescription": "ruby-method-calls-hash-args-delete-rest-test",
@ -319,5 +319,5 @@
"-foo(:bar => true, :baz => 1)"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "52b0d3ce05c4cac541b0a92675582e76547e1c37..3ab5bd23eb0228069d84c0fedf7b60c8fe25a1a5"
"shas": "d0722c05e98a0fbde2689e6ce7e055f83cefd476..17cb015bf9232a8dce120f520d1654a5035b5735"
}]

View File

@ -34,7 +34,7 @@
"+foo(bar: true)"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "0651effd0edd3aa8236a13e8055ccdb61e376131..56719719ba8f3aaf1b6c9cc0caa0d8e44a8b7e3c"
"shas": "e82ac8cf1ad73c21f8fc255132f075683884c711..b3639fba547d045dfcab1d6e245f97e460e34f32"
}
,{
"testCaseDescription": "ruby-method-calls-keyword-args-replacement-insert-test",
@ -89,7 +89,7 @@
" foo(bar: true)"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "56719719ba8f3aaf1b6c9cc0caa0d8e44a8b7e3c..b139da0f753052390f6adc2b640a1afb05b5c476"
"shas": "b3639fba547d045dfcab1d6e245f97e460e34f32..5c4507afbf8aadd9189e4707dfa2728ef67accf3"
}
,{
"testCaseDescription": "ruby-method-calls-keyword-args-delete-insert-test",
@ -130,7 +130,7 @@
" foo(bar: true)"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "b139da0f753052390f6adc2b640a1afb05b5c476..2f1f54a8fc3fc6c782164a655d44301022cd1696"
"shas": "5c4507afbf8aadd9189e4707dfa2728ef67accf3..a40d7984a209b142e06698a5b4373f4ecc9d4050"
}
,{
"testCaseDescription": "ruby-method-calls-keyword-args-replacement-test",
@ -171,7 +171,7 @@
" foo(bar: true)"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "2f1f54a8fc3fc6c782164a655d44301022cd1696..2dd2410e9edd9ad49ea2e990aab44fc4becd053b"
"shas": "a40d7984a209b142e06698a5b4373f4ecc9d4050..2fb9efe9ca387be1b44d4aaba4d679574f7e582e"
}
,{
"testCaseDescription": "ruby-method-calls-keyword-args-delete-replacement-test",
@ -242,7 +242,7 @@
"+foo(bar: true, baz: 1)"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "2dd2410e9edd9ad49ea2e990aab44fc4becd053b..52d301081db424529069b6e773de3e8977fff9f2"
"shas": "2fb9efe9ca387be1b44d4aaba4d679574f7e582e..fbb48ae7e9fdaed147bbd12fe7ad87583f80ab6a"
}
,{
"testCaseDescription": "ruby-method-calls-keyword-args-delete-test",
@ -281,7 +281,7 @@
" foo(bar: true, baz: 1)"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "52d301081db424529069b6e773de3e8977fff9f2..a2ff4c6ff0d3abb9b94c9369286cd74e20f26673"
"shas": "fbb48ae7e9fdaed147bbd12fe7ad87583f80ab6a..6cd55b2a707fb86321cce17f90515d7989337a49"
}
,{
"testCaseDescription": "ruby-method-calls-keyword-args-delete-rest-test",
@ -319,5 +319,5 @@
"-foo(bar: true, baz: 1)"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "a2ff4c6ff0d3abb9b94c9369286cd74e20f26673..0b8859a7463c7f7199a43896da33717a33adb581"
"shas": "6cd55b2a707fb86321cce17f90515d7989337a49..2a9d54f70d1cd8ebbf9096801a8db3ef9767dea2"
}]

View File

@ -34,7 +34,7 @@
"+x.foo()"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "bc06c5994d9bcf120ff71c6dd145f5341d84cec3..9cafd760d2dc4c2a54921571ba6d7cb2fcee8635"
"shas": "ab79dec4ef5466689808711c67ae696e64b17bbd..661b96e3e5b034c088867f3b6797067b7f67dc53"
}
,{
"testCaseDescription": "ruby-method-calls-replacement-insert-test",
@ -89,7 +89,7 @@
" x.foo()"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "9cafd760d2dc4c2a54921571ba6d7cb2fcee8635..a7bb32b35cc3fa930f0fb34803d6dbdaa8282d6a"
"shas": "661b96e3e5b034c088867f3b6797067b7f67dc53..be5eac55a130cf29f4ab07ab0e53e0bd7b4adb95"
}
,{
"testCaseDescription": "ruby-method-calls-delete-insert-test",
@ -142,7 +142,7 @@
" x.foo()"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "a7bb32b35cc3fa930f0fb34803d6dbdaa8282d6a..85b889092acf870dd2e172e6aea86acc7e84e807"
"shas": "be5eac55a130cf29f4ab07ab0e53e0bd7b4adb95..bb3d067bc4de156775ed7a257f801116a1a7cab2"
}
,{
"testCaseDescription": "ruby-method-calls-replacement-test",
@ -195,7 +195,7 @@
" x.foo()"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "85b889092acf870dd2e172e6aea86acc7e84e807..5cae15619e9bdf86d95a0d54d3c5e184101e45f9"
"shas": "bb3d067bc4de156775ed7a257f801116a1a7cab2..b1c4391275f9d477c5da7c83d59a7769e47eefdd"
}
,{
"testCaseDescription": "ruby-method-calls-delete-replacement-test",
@ -266,7 +266,7 @@
"+bar()"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "5cae15619e9bdf86d95a0d54d3c5e184101e45f9..6b6f652b4bd7788b57a21ffd7310343dbf6f8274"
"shas": "b1c4391275f9d477c5da7c83d59a7769e47eefdd..c892756f7e8e7d38d5966647e9a85d0add700768"
}
,{
"testCaseDescription": "ruby-method-calls-delete-test",
@ -305,7 +305,7 @@
" bar()"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "6b6f652b4bd7788b57a21ffd7310343dbf6f8274..d65baeb30a8f39878e17e8ed91de19134f60923b"
"shas": "c892756f7e8e7d38d5966647e9a85d0add700768..b286104e911bf757b497d14b7570524526689a92"
}
,{
"testCaseDescription": "ruby-method-calls-delete-rest-test",
@ -343,5 +343,5 @@
"-bar()"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "d65baeb30a8f39878e17e8ed91de19134f60923b..5c66ec3700761ca4868e703f576449f5a190e5a5"
"shas": "b286104e911bf757b497d14b7570524526689a92..e82ac8cf1ad73c21f8fc255132f075683884c711"
}]

View File

@ -35,7 +35,7 @@
"+end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "437e6574dec68736434b48abcb9528f40c43beaf..27094bfe6d75b44ade44fdb8eff16d2ab65c1596"
"shas": "93608298b56bbcfd4593cc849992723540659014..f5822a09c27cddf8e6f890a5d6a3b369b02e982b"
}
,{
"testCaseDescription": "ruby-method-declaration-keyword-param-replacement-insert-test",
@ -93,7 +93,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "27094bfe6d75b44ade44fdb8eff16d2ab65c1596..e996c0960b54b737330760deb07c1b3f8d61e71f"
"shas": "f5822a09c27cddf8e6f890a5d6a3b369b02e982b..d7b3827abd8b21cd433cb387dc25b5caba598c5e"
}
,{
"testCaseDescription": "ruby-method-declaration-keyword-param-delete-insert-test",
@ -135,7 +135,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "e996c0960b54b737330760deb07c1b3f8d61e71f..f803a8f6472ac578c23c4911fd467e15ab1d4fba"
"shas": "d7b3827abd8b21cd433cb387dc25b5caba598c5e..32dddbbcb483d825872a0552192402dcceada0da"
}
,{
"testCaseDescription": "ruby-method-declaration-keyword-param-replacement-test",
@ -177,7 +177,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "f803a8f6472ac578c23c4911fd467e15ab1d4fba..5fbd7ee48b8fd4d8ec416605b2f03170d9971b67"
"shas": "32dddbbcb483d825872a0552192402dcceada0da..0ae419a6a5ab29496e13a5b2ae9d7f2ae8e27de2"
}
,{
"testCaseDescription": "ruby-method-declaration-keyword-param-delete-replacement-test",
@ -251,7 +251,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "5fbd7ee48b8fd4d8ec416605b2f03170d9971b67..77064c7fdc9d2e27840dd3b6e8e4cb180e5e7a52"
"shas": "0ae419a6a5ab29496e13a5b2ae9d7f2ae8e27de2..e602ed3e795b87bfb587ca54e1effaa22751a7c2"
}
,{
"testCaseDescription": "ruby-method-declaration-keyword-param-delete-test",
@ -292,7 +292,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "77064c7fdc9d2e27840dd3b6e8e4cb180e5e7a52..341c920b20a69533d26933c5d9ee7d1b678e32d8"
"shas": "e602ed3e795b87bfb587ca54e1effaa22751a7c2..03e485e43b43bd7bdd63b13128e95e0b657a3fcb"
}
,{
"testCaseDescription": "ruby-method-declaration-keyword-param-delete-rest-test",
@ -331,5 +331,5 @@
"-end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "341c920b20a69533d26933c5d9ee7d1b678e32d8..2e5ef49d470de6e07c6fe7214b247889376f1d36"
"shas": "03e485e43b43bd7bdd63b13128e95e0b657a3fcb..6997096316fc3a11335e15d727e5a2abf47a287a"
}]

View File

@ -35,7 +35,7 @@
"+end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "938fb81e6b5297c94aadee8461ad3865bb339a0b..948b510af8ca32d31fa2cd7297873c21c4293912"
"shas": "6997096316fc3a11335e15d727e5a2abf47a287a..3dce416e1f123d4d8dbcb68a6c90f0790d2255c2"
}
,{
"testCaseDescription": "ruby-method-declaration-param-default-replacement-insert-test",
@ -93,7 +93,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "948b510af8ca32d31fa2cd7297873c21c4293912..2b02e88e16ec50494edff125de7d16af87ed8043"
"shas": "3dce416e1f123d4d8dbcb68a6c90f0790d2255c2..55c29721d85a9192f8d152d3f3a957e5587b6d5e"
}
,{
"testCaseDescription": "ruby-method-declaration-param-default-delete-insert-test",
@ -135,7 +135,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "2b02e88e16ec50494edff125de7d16af87ed8043..c77fe0f8270d9d4535af506826b3266b2e363677"
"shas": "55c29721d85a9192f8d152d3f3a957e5587b6d5e..cba39ff201437f6bf3fb930ee09fe7d791369762"
}
,{
"testCaseDescription": "ruby-method-declaration-param-default-replacement-test",
@ -177,7 +177,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "c77fe0f8270d9d4535af506826b3266b2e363677..586202de2bc56e65a3f24f0fd533d9758b09df9b"
"shas": "cba39ff201437f6bf3fb930ee09fe7d791369762..526b947c9508ca9cd8c74ed6ac40e350f07224f7"
}
,{
"testCaseDescription": "ruby-method-declaration-param-default-delete-replacement-test",
@ -251,7 +251,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "586202de2bc56e65a3f24f0fd533d9758b09df9b..e6b2d95dfc0d76bad56db6ad26c2df6e72f6e840"
"shas": "526b947c9508ca9cd8c74ed6ac40e350f07224f7..3c0e96d4c4768f985e40d7123ac8327e54e55a55"
}
,{
"testCaseDescription": "ruby-method-declaration-param-default-delete-test",
@ -292,7 +292,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "e6b2d95dfc0d76bad56db6ad26c2df6e72f6e840..46fb7103f253c1cce02d27305a2d0305f1275990"
"shas": "3c0e96d4c4768f985e40d7123ac8327e54e55a55..f20919cedc1f229a07626ef56a4101a3d00c4235"
}
,{
"testCaseDescription": "ruby-method-declaration-param-default-delete-rest-test",
@ -331,5 +331,5 @@
"-end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "46fb7103f253c1cce02d27305a2d0305f1275990..3bb1c281d994cc6dc7ae3b4123ecfe7bc4e9a4ad"
"shas": "f20919cedc1f229a07626ef56a4101a3d00c4235..e017226466eb694c55a582df5d2d4c0b69a55b2d"
}]

View File

@ -35,7 +35,7 @@
"+end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "f82bf4ad6ff1fbd5a9259bd1eacc5a0f4f859641..0197e7f75970a0d4fb4ac2094b70667322cd28f7"
"shas": "5e4b0033169bd2470aab33627022e080225ee1b8..5eaf042ab4b90c0d05f74f20978717ddcd01883c"
}
,{
"testCaseDescription": "ruby-method-declaration-params-insert-test",
@ -75,7 +75,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "0197e7f75970a0d4fb4ac2094b70667322cd28f7..552d3174c07720ca6e22d4d10793d77b8cbd8272"
"shas": "5eaf042ab4b90c0d05f74f20978717ddcd01883c..1911dade0e1517521c0547a2a7ee095838933dad"
}
,{
"testCaseDescription": "ruby-method-declaration-params-replacement-test",
@ -130,7 +130,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "552d3174c07720ca6e22d4d10793d77b8cbd8272..d1de60658c07241f71d613af600c1182ae93d5ee"
"shas": "1911dade0e1517521c0547a2a7ee095838933dad..3485c03879fc28b7ef8839c0d81f4c50e7886a03"
}
,{
"testCaseDescription": "ruby-method-declaration-params-delete-replacement-test",
@ -185,7 +185,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "d1de60658c07241f71d613af600c1182ae93d5ee..9dbfbeb8ecb62a12415834b6b4d6acb2c25248e1"
"shas": "3485c03879fc28b7ef8839c0d81f4c50e7886a03..4a54531593b47b1be6d2c17e6e452065ddacdcbf"
}
,{
"testCaseDescription": "ruby-method-declaration-params-delete-insert-test",
@ -225,7 +225,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "9dbfbeb8ecb62a12415834b6b4d6acb2c25248e1..104d7b89ddba1700c8472a8622398479e4b75428"
"shas": "4a54531593b47b1be6d2c17e6e452065ddacdcbf..7a3aa63ff9456febf5b69b3845a253bae90010e0"
}
,{
"testCaseDescription": "ruby-method-declaration-params-teardown-test",
@ -264,5 +264,5 @@
"-end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "104d7b89ddba1700c8472a8622398479e4b75428..38847e533e9d63b067fd46b4e3bf8e4bcd68f0db"
"shas": "7a3aa63ff9456febf5b69b3845a253bae90010e0..490ea403a344953822f22dfeaf54717e5f32a154"
}]

View File

@ -35,7 +35,7 @@
"+end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "dfbd1fcf11abae66b9ac05c767bdc1fc6b303935..1dff09b0ecd20846c8d07e4a447368cb0da8e603"
"shas": "490ea403a344953822f22dfeaf54717e5f32a154..6a11a68323299714b5b1890647503109dfe076da"
}
,{
"testCaseDescription": "ruby-method-declaration-required-keyword-param-replacement-insert-test",
@ -93,7 +93,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "1dff09b0ecd20846c8d07e4a447368cb0da8e603..937a1c2c7048e0bb4dd15bb67c111816e5149210"
"shas": "6a11a68323299714b5b1890647503109dfe076da..1fa0b058c99e3e868e753f9d25dd4ba6d1fb2c0e"
}
,{
"testCaseDescription": "ruby-method-declaration-required-keyword-param-delete-insert-test",
@ -135,7 +135,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "937a1c2c7048e0bb4dd15bb67c111816e5149210..376fc851d8bc4b0d567441a885ebc76af0e7459c"
"shas": "1fa0b058c99e3e868e753f9d25dd4ba6d1fb2c0e..e895c8e856e3e316ed30f381fbce7c52960d0b53"
}
,{
"testCaseDescription": "ruby-method-declaration-required-keyword-param-replacement-test",
@ -177,7 +177,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "376fc851d8bc4b0d567441a885ebc76af0e7459c..756192bdeff1b11492c3210b8534df0613bb9341"
"shas": "e895c8e856e3e316ed30f381fbce7c52960d0b53..928e5eefee75e120f9e5c7b13f15cc4c98bfdae9"
}
,{
"testCaseDescription": "ruby-method-declaration-required-keyword-param-delete-replacement-test",
@ -251,7 +251,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "756192bdeff1b11492c3210b8534df0613bb9341..2f1beb691f2eda0590283c9ba76cfa5d6afe7a8d"
"shas": "928e5eefee75e120f9e5c7b13f15cc4c98bfdae9..302d3dc569dcf3b33cd48d0441d969558f916aa4"
}
,{
"testCaseDescription": "ruby-method-declaration-required-keyword-param-delete-test",
@ -292,7 +292,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "2f1beb691f2eda0590283c9ba76cfa5d6afe7a8d..e1dcfd40c4c88e4621ed8069cc53efe4dd429e8f"
"shas": "302d3dc569dcf3b33cd48d0441d969558f916aa4..1df76f46456362a53f3a619ecb896a89e18135a5"
}
,{
"testCaseDescription": "ruby-method-declaration-required-keyword-param-delete-rest-test",
@ -331,5 +331,5 @@
"-end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "e1dcfd40c4c88e4621ed8069cc53efe4dd429e8f..a5dfc69e951b86a89d7330b859dafe1a4f707684"
"shas": "1df76f46456362a53f3a619ecb896a89e18135a5..93608298b56bbcfd4593cc849992723540659014"
}]

View File

@ -35,7 +35,7 @@
"+end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "9f2d8fc6ee3c92f30342ba8559ef474000b30bb6..423d992fcf33054fbbbc62439de5d0c8d6a5b0f7"
"shas": "e017226466eb694c55a582df5d2d4c0b69a55b2d..dd577be196dacb377451aded5c7c1b29e3eba3a8"
}
,{
"testCaseDescription": "ruby-method-declaration-unnamed-param-replacement-insert-test",
@ -93,7 +93,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "423d992fcf33054fbbbc62439de5d0c8d6a5b0f7..69b2240f14ddbc4eeae2ebda5a0690d384fceeb3"
"shas": "dd577be196dacb377451aded5c7c1b29e3eba3a8..5db518f2ae9abaef05cc43a59f55c0069321e217"
}
,{
"testCaseDescription": "ruby-method-declaration-unnamed-param-delete-insert-test",
@ -135,7 +135,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "69b2240f14ddbc4eeae2ebda5a0690d384fceeb3..f1ab92cf4a9b91d92cdf15b32252d188bf84f676"
"shas": "5db518f2ae9abaef05cc43a59f55c0069321e217..d038f933e6e14a27c2ddc7e05b68fa519c05bb92"
}
,{
"testCaseDescription": "ruby-method-declaration-unnamed-param-replacement-test",
@ -177,7 +177,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "f1ab92cf4a9b91d92cdf15b32252d188bf84f676..5de28e51bb7545c5b2a1b91d6ac71af0a279922a"
"shas": "d038f933e6e14a27c2ddc7e05b68fa519c05bb92..dd4ca62f6c61f54edaede30ec43d88dbf906a421"
}
,{
"testCaseDescription": "ruby-method-declaration-unnamed-param-delete-replacement-test",
@ -251,7 +251,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "5de28e51bb7545c5b2a1b91d6ac71af0a279922a..942d44496592797a0be0032a699ba61853b59bbf"
"shas": "dd4ca62f6c61f54edaede30ec43d88dbf906a421..2f85330f706c8b01bae43a69f65334ec189d143c"
}
,{
"testCaseDescription": "ruby-method-declaration-unnamed-param-delete-test",
@ -292,7 +292,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "942d44496592797a0be0032a699ba61853b59bbf..ec3ffc75521d6c39fbe217abbf519d9e0307f5c4"
"shas": "2f85330f706c8b01bae43a69f65334ec189d143c..a3a58b02dbdb706baa85a25138b8b0908a9ab5b8"
}
,{
"testCaseDescription": "ruby-method-declaration-unnamed-param-delete-rest-test",
@ -331,5 +331,5 @@
"-end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "ec3ffc75521d6c39fbe217abbf519d9e0307f5c4..1348e47cfcd21ebc8f7693453b14835daf726244"
"shas": "a3a58b02dbdb706baa85a25138b8b0908a9ab5b8..88acadf4cf08a8cc3d0192c689353b5bccea82d1"
}]

View File

@ -35,7 +35,7 @@
"+end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "431277d98db3b1763f33f0ad74712c0605d7f610..252774d5f106ebd96337b469288937b17174b5ef"
"shas": "eb07d0330dcc5e169db20129f37bdc0710a3a060..8ae8b8a521dd93884af43f1ad4660750f7da64c7"
}
,{
"testCaseDescription": "ruby-method-declaration-replacement-insert-test",
@ -94,7 +94,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "252774d5f106ebd96337b469288937b17174b5ef..35a4b8fddb3dfdc3f6d554ff18bed1a54a7f555b"
"shas": "8ae8b8a521dd93884af43f1ad4660750f7da64c7..77487442b35a38f5db672705475a0a7d8959f9c1"
}
,{
"testCaseDescription": "ruby-method-declaration-delete-insert-test",
@ -179,7 +179,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "35a4b8fddb3dfdc3f6d554ff18bed1a54a7f555b..2ef30f177ed4748865fbf8341e8859a13a1addc1"
"shas": "77487442b35a38f5db672705475a0a7d8959f9c1..d4670c9786f8cf122bbe6cb414d76e92e117a862"
}
,{
"testCaseDescription": "ruby-method-declaration-replacement-test",
@ -264,7 +264,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "2ef30f177ed4748865fbf8341e8859a13a1addc1..da07a93d19fb9f023e1e9f660ffa1838d6493b13"
"shas": "d4670c9786f8cf122bbe6cb414d76e92e117a862..7045f04eba2c2ba625b8c74fe6c6942c0af563a5"
}
,{
"testCaseDescription": "ruby-method-declaration-delete-replacement-test",
@ -340,7 +340,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "da07a93d19fb9f023e1e9f660ffa1838d6493b13..1acebf2b365c8f3d9a79e60ac9fc196926633beb"
"shas": "7045f04eba2c2ba625b8c74fe6c6942c0af563a5..4d2e41b0d8e3f6358092312078190773fb76a887"
}
,{
"testCaseDescription": "ruby-method-declaration-delete-test",
@ -382,7 +382,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "1acebf2b365c8f3d9a79e60ac9fc196926633beb..dc91b88e86820f5cb807a7219c5fb0b1351be372"
"shas": "4d2e41b0d8e3f6358092312078190773fb76a887..dcc5909e84805cf1036b54e302f2e15ac9cb3976"
}
,{
"testCaseDescription": "ruby-method-declaration-delete-rest-test",
@ -422,5 +422,5 @@
"-end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "dc91b88e86820f5cb807a7219c5fb0b1351be372..f82bf4ad6ff1fbd5a9259bd1eacc5a0f4f859641"
"shas": "dcc5909e84805cf1036b54e302f2e15ac9cb3976..5e4b0033169bd2470aab33627022e080225ee1b8"
}]

View File

@ -66,7 +66,7 @@
"+bar"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "38847e533e9d63b067fd46b4e3bf8e4bcd68f0db..337912159e09103c0f9708052b84b68f93ff3543"
"shas": "88acadf4cf08a8cc3d0192c689353b5bccea82d1..ed714a399b8ded21cfe7300056909b1840c8f9d6"
}
,{
"testCaseDescription": "ruby-method-invocation-replacement-insert-test",
@ -203,7 +203,7 @@
" bar"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "337912159e09103c0f9708052b84b68f93ff3543..ea127bd5909b83d6dee0fb6be0dcc5d7bc4988fd"
"shas": "ed714a399b8ded21cfe7300056909b1840c8f9d6..e1be3e366c906046de219703f4ee78d601ffbe10"
}
,{
"testCaseDescription": "ruby-method-invocation-delete-insert-test",
@ -340,7 +340,7 @@
" bar"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "ea127bd5909b83d6dee0fb6be0dcc5d7bc4988fd..d1a8f6f9af6a5bfd0c1668a3d18dc3843c47e114"
"shas": "e1be3e366c906046de219703f4ee78d601ffbe10..6713ab055cb645932cdc4f1c68c89bf5d43979d9"
}
,{
"testCaseDescription": "ruby-method-invocation-replacement-test",
@ -477,7 +477,7 @@
" bar"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "d1a8f6f9af6a5bfd0c1668a3d18dc3843c47e114..5fe58e778dc1c9be8f575f594e744ffefeeb4fc7"
"shas": "6713ab055cb645932cdc4f1c68c89bf5d43979d9..4390af8630ec41a9a3ca4d6adb6c1bbdc2d9a9ac"
}
,{
"testCaseDescription": "ruby-method-invocation-delete-replacement-test",
@ -557,7 +557,7 @@
"-bar"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "5fe58e778dc1c9be8f575f594e744ffefeeb4fc7..ec527d127ee949363d1abf4cb103ecfaf766c82a"
"shas": "4390af8630ec41a9a3ca4d6adb6c1bbdc2d9a9ac..6684e195e4561e870831cc8a44c28580e7ac7113"
}
,{
"testCaseDescription": "ruby-method-invocation-delete-test",
@ -630,7 +630,7 @@
" bar 2, 3"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "ec527d127ee949363d1abf4cb103ecfaf766c82a..f373fd312755ca8a3de02ecce462b619ad8460dc"
"shas": "6684e195e4561e870831cc8a44c28580e7ac7113..7e0acc1ca84738dd5f5eab670174253596cfb5ed"
}
,{
"testCaseDescription": "ruby-method-invocation-delete-rest-test",
@ -716,5 +716,5 @@
"-bar(2, 3)"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "f373fd312755ca8a3de02ecce462b619ad8460dc..98200bee05decb871fcfdf6858ee954898880f72"
"shas": "7e0acc1ca84738dd5f5eab670174253596cfb5ed..ab79dec4ef5466689808711c67ae696e64b17bbd"
}]

View File

@ -35,7 +35,7 @@
"+end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "5df8bfbe172193e6124da27f457fa6fb19547593..9e3d30cbf214e01bac2e8ced270032fc40117c33"
"shas": "65580f341a0baa13c07bff3b4a8ad37ce1d1a478..49176a888a06591329c6db21ab808290903b68ef"
}
,{
"testCaseDescription": "ruby-module-replacement-insert-test",
@ -95,7 +95,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "9e3d30cbf214e01bac2e8ced270032fc40117c33..070a30dadbd08713621ade900398489f3d5d8d35"
"shas": "49176a888a06591329c6db21ab808290903b68ef..63db7164eabda322b7c14c10931522f2b42f2250"
}
,{
"testCaseDescription": "ruby-module-delete-insert-test",
@ -138,7 +138,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "070a30dadbd08713621ade900398489f3d5d8d35..164b8f9d4149fc6c28f330d764d68e2529ddfe7e"
"shas": "63db7164eabda322b7c14c10931522f2b42f2250..2ccafe7a17f41a48b0c0216b1d9ff4e412f84279"
}
,{
"testCaseDescription": "ruby-module-replacement-test",
@ -181,7 +181,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "164b8f9d4149fc6c28f330d764d68e2529ddfe7e..6790c446e68c1186b5bc0256bcb13ea4f8f98dbc"
"shas": "2ccafe7a17f41a48b0c0216b1d9ff4e412f84279..eac589470e0ce3160495248eb708c26a2c282234"
}
,{
"testCaseDescription": "ruby-module-delete-replacement-test",
@ -258,7 +258,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "6790c446e68c1186b5bc0256bcb13ea4f8f98dbc..ec4ecafdea519cb0020ed5599ff939570d0f854b"
"shas": "eac589470e0ce3160495248eb708c26a2c282234..e688eec3d68e97a75e5b11836f21b085a55be3db"
}
,{
"testCaseDescription": "ruby-module-delete-test",
@ -301,7 +301,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "ec4ecafdea519cb0020ed5599ff939570d0f854b..57a8fb4e465c80ab42466968a539a77bf8880f5a"
"shas": "e688eec3d68e97a75e5b11836f21b085a55be3db..fad2a1af5ce7f5fb85d60ccb8a1af62adb554bc0"
}
,{
"testCaseDescription": "ruby-module-delete-rest-test",
@ -342,5 +342,5 @@
"-end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "57a8fb4e465c80ab42466968a539a77bf8880f5a..1713f7f3e2aa6a1e643842fde9382ce098c08363"
"shas": "fad2a1af5ce7f5fb85d60ccb8a1af62adb554bc0..2352df3ff98f18f6e691d3791a7c7cd99014866b"
}]

View File

@ -0,0 +1,383 @@
[{
"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": "cb8ab2b8261268a2f01762a64644f0acad9bb905..c502529a3fce4e69f63e509c01b838078f703834"
}
,{
"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": "c502529a3fce4e69f63e509c01b838078f703834..e3da21c4475d50d0ff722ff0605bc3e5287571db"
}
,{
"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": "e3da21c4475d50d0ff722ff0605bc3e5287571db..67b923b002446d7acbcdce4d29d2ff4fac8fc97b"
}
,{
"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": "67b923b002446d7acbcdce4d29d2ff4fac8fc97b..caf8f98fbada9d3a8e8c48aeb00e26c87d1b1128"
}
,{
"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": "caf8f98fbada9d3a8e8c48aeb00e26c87d1b1128..ad84a0727b4d91c2664538c00fe90efd23c1ce03"
}
,{
"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": "ad84a0727b4d91c2664538c00fe90efd23c1ce03..65459f2c16ac7d41b6b2600648700ce402979199"
}
,{
"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": "65459f2c16ac7d41b6b2600648700ce402979199..cefab5b0f32940276529b6bb8c4e429ae6c337e9"
}]

View File

@ -131,7 +131,7 @@
"+"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "0f08e943de503b5d714186206425966f0517ddec..c2c6dd7da94b8e4a0cd8b0acdd5e8526f05355f2"
"shas": "52cf93cebb9ab352668a7e014fb5d60e4899db14..6fbd370572299db2f8203e6afc267f3bbccebdc5"
}
,{
"testCaseDescription": "ruby-number-replacement-insert-test",
@ -409,7 +409,7 @@
" 0d1_234"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "c2c6dd7da94b8e4a0cd8b0acdd5e8526f05355f2..d243b819564a35405d46f58255eb9d46bc9b2e99"
"shas": "6fbd370572299db2f8203e6afc267f3bbccebdc5..8d36825e6ec1f33e7c433ac11059e98880c50b99"
}
,{
"testCaseDescription": "ruby-number-delete-insert-test",
@ -658,7 +658,7 @@
" 1_234"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "d243b819564a35405d46f58255eb9d46bc9b2e99..62be4a00fb4fc32b3296ff1c8ffc0bb01b15379a"
"shas": "8d36825e6ec1f33e7c433ac11059e98880c50b99..fa9c32943be6321639da4d67d0a096c2b41d3341"
}
,{
"testCaseDescription": "ruby-number-replacement-test",
@ -907,7 +907,7 @@
" 1_234"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "62be4a00fb4fc32b3296ff1c8ffc0bb01b15379a..bc3466b947814264cb346aa410b9210d315be80b"
"shas": "fa9c32943be6321639da4d67d0a096c2b41d3341..502fed38ffa43aa1294e3bfd1dee94472152cdba"
}
,{
"testCaseDescription": "ruby-number-delete-replacement-test",
@ -1304,7 +1304,7 @@
" "
],
"gitDir": "test/corpus/repos/ruby",
"shas": "bc3466b947814264cb346aa410b9210d315be80b..e0cf7e6edc8c07a9a62b40e4d3baee6de8b7223c"
"shas": "502fed38ffa43aa1294e3bfd1dee94472152cdba..6a23f0832e04a15de1ac5c46ffca35dec5daef6a"
}
,{
"testCaseDescription": "ruby-number-delete-test",
@ -1472,7 +1472,7 @@
" 0d1_235"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "e0cf7e6edc8c07a9a62b40e4d3baee6de8b7223c..43f4b885483cf6653fbc4344244d4908a9509e02"
"shas": "6a23f0832e04a15de1ac5c46ffca35dec5daef6a..999e337ad8db4038d71d64ea1dfe762e99cb71e3"
}
,{
"testCaseDescription": "ruby-number-delete-rest-test",
@ -1607,5 +1607,5 @@
"-"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "43f4b885483cf6653fbc4344244d4908a9509e02..54b8896e3161e23f3cc38414d860e49c385d98ea"
"shas": "999e337ad8db4038d71d64ea1dfe762e99cb71e3..d4fab0206345351ea94aa3c0e11e19fa2497ce95"
}]

View File

@ -34,7 +34,7 @@
"+%w(one two)"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "79b196cace027a076f4ba235171fd4f409bdaba9..60bbbb2dee1ceb124b3a5732a1f3ee63ec515497"
"shas": "e8640758809cf7312226b84f188b4089c0da4a95..6301c03bab0b9f30e73bff76db3dfa83735a839d"
}
,{
"testCaseDescription": "ruby-percent-array-replacement-insert-test",
@ -89,7 +89,7 @@
" %w(one two)"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "60bbbb2dee1ceb124b3a5732a1f3ee63ec515497..7331cd0d8952471a92cddf2c85b3a8a3ce74846d"
"shas": "6301c03bab0b9f30e73bff76db3dfa83735a839d..8ba9bbbcc9f58d4371107041aee2dc04f8023e4a"
}
,{
"testCaseDescription": "ruby-percent-array-delete-insert-test",
@ -130,7 +130,7 @@
" %w(one two)"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "7331cd0d8952471a92cddf2c85b3a8a3ce74846d..0a03996c67d51dc60959a36d35bb2bb781eff19b"
"shas": "8ba9bbbcc9f58d4371107041aee2dc04f8023e4a..82d5b736d19654cdc2e8e69cabbb49a58caef22f"
}
,{
"testCaseDescription": "ruby-percent-array-replacement-test",
@ -171,7 +171,7 @@
" %w(one two)"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "0a03996c67d51dc60959a36d35bb2bb781eff19b..864617da3f66a3b16b6ab2c7c63a0a449669fc01"
"shas": "82d5b736d19654cdc2e8e69cabbb49a58caef22f..ee0cc97b129041295c686cbe76be0bc3a63489b3"
}
,{
"testCaseDescription": "ruby-percent-array-delete-replacement-test",
@ -242,7 +242,7 @@
"+%W(one #{b} three)"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "864617da3f66a3b16b6ab2c7c63a0a449669fc01..0bee45a0f42e71f1162b4150b0647cf13a05b8f8"
"shas": "ee0cc97b129041295c686cbe76be0bc3a63489b3..a63b805f52e90e62f251950cccfd9bb0a5e8b858"
}
,{
"testCaseDescription": "ruby-percent-array-delete-test",
@ -281,7 +281,7 @@
" %W(one #{b} three)"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "0bee45a0f42e71f1162b4150b0647cf13a05b8f8..4a8ac79d914f73b9e92da2948689badc6676ca31"
"shas": "a63b805f52e90e62f251950cccfd9bb0a5e8b858..629e076853852c4a2b8f47fa1d99feb5dfe56e80"
}
,{
"testCaseDescription": "ruby-percent-array-delete-rest-test",
@ -319,5 +319,5 @@
"-%W(one #{b} three)"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "4a8ac79d914f73b9e92da2948689badc6676ca31..39e3abbd0e3332afc2314759fdd350cba39b8e28"
"shas": "629e076853852c4a2b8f47fa1d99feb5dfe56e80..8b7b8b4e722327227408044c6fa34adba2974b73"
}]

View File

@ -82,7 +82,7 @@
"+true"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "2ffce3d30f77b7bd24e702013e47f91050c0ed06..3929950f26dec5f0af43dda569e0417dd949d355"
"shas": "cefab5b0f32940276529b6bb8c4e429ae6c337e9..149746ce13c571231a02354b17434cdf7468d655"
}
,{
"testCaseDescription": "ruby-pseudo-variables-replacement-insert-test",
@ -235,7 +235,7 @@
" false"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "3929950f26dec5f0af43dda569e0417dd949d355..38766d05c3684529438061f58dd0252025aa52b0"
"shas": "149746ce13c571231a02354b17434cdf7468d655..b78ed045e2ddfab77a878c175cad1df4d2f87b25"
}
,{
"testCaseDescription": "ruby-pseudo-variables-delete-insert-test",
@ -354,7 +354,7 @@
" false"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "38766d05c3684529438061f58dd0252025aa52b0..8f80336c91ce46ae805eda02987947ab0efa3692"
"shas": "b78ed045e2ddfab77a878c175cad1df4d2f87b25..73a2bb6cf68d03d668fd918f3f23ebeb240c4b5a"
}
,{
"testCaseDescription": "ruby-pseudo-variables-replacement-test",
@ -473,7 +473,7 @@
" false"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "8f80336c91ce46ae805eda02987947ab0efa3692..9a312b15cd4f54406122fd3e1cd2240ccaa7391a"
"shas": "73a2bb6cf68d03d668fd918f3f23ebeb240c4b5a..926d88730014524915f9a68dac1e0beaceb04166"
}
,{
"testCaseDescription": "ruby-pseudo-variables-delete-replacement-test",
@ -660,7 +660,7 @@
"+FALSE"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "9a312b15cd4f54406122fd3e1cd2240ccaa7391a..8ce9065e59871233c9f7d7c2ca1447253e2a37d3"
"shas": "926d88730014524915f9a68dac1e0beaceb04166..2e65ca521dbdd0a7f495c6cabdd7f7897782119c"
}
,{
"testCaseDescription": "ruby-pseudo-variables-delete-test",
@ -749,7 +749,7 @@
" TRUE"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "8ce9065e59871233c9f7d7c2ca1447253e2a37d3..ae2b0ad6c228e0a8f301c9b3d6ff6edb1023c3c4"
"shas": "2e65ca521dbdd0a7f495c6cabdd7f7897782119c..bf3f658d8a6ee164c7abd4ed059e1c36b6a73aba"
}
,{
"testCaseDescription": "ruby-pseudo-variables-delete-rest-test",
@ -835,5 +835,5 @@
"-FALSE"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "ae2b0ad6c228e0a8f301c9b3d6ff6edb1023c3c4..a966f9b2783f127617cc42cbed16e6ec570b75ad"
"shas": "bf3f658d8a6ee164c7abd4ed059e1c36b6a73aba..605238536a8c077db018fe6166a83e672be2ec16"
}]

View File

@ -0,0 +1,350 @@
[{
"testCaseDescription": "ruby-regex-insert-test",
"expectedResult": {
"changes": {
"regex.rb": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
19
]
}
},
"summary": "Added the '/^(foo|bar[^_])$/i' regex"
}
]
},
"errors": {}
},
"filePaths": [
"regex.rb"
],
"patch": [
"diff --git a/regex.rb b/regex.rb",
"index e69de29..02dce9d 100644",
"--- a/regex.rb",
"+++ b/regex.rb",
"@@ -0,0 +1 @@",
"+/^(foo|bar[^_])$/i"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "7c793b16609953b03f729c6de62ceafd095d2398..bff67126ff1234b0701fe26d1df24daf2dcd7227"
}
,{
"testCaseDescription": "ruby-regex-replacement-insert-test",
"expectedResult": {
"changes": {
"regex.rb": [
{
"span": {
"replace": [
{
"start": [
1,
1
],
"end": [
1,
19
]
},
{
"start": [
1,
1
],
"end": [
5,
1
]
}
]
},
"summary": "Replaced the '/^(foo|bar[^_])$/i' regex with '%r/a/\n%r<a<b>c>\n/^(foo|bar[^_])$/i\n/^(foo|bar[^_])$/i\n' at line 1, column 1 - line 5, column 1"
}
]
},
"errors": {}
},
"filePaths": [
"regex.rb"
],
"patch": [
"diff --git a/regex.rb b/regex.rb",
"index 02dce9d..c801d61 100644",
"--- a/regex.rb",
"+++ b/regex.rb",
"@@ -1 +1,4 @@",
"+%r/a/",
"+%r<a<b>c>",
"+/^(foo|bar[^_])$/i",
" /^(foo|bar[^_])$/i"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "bff67126ff1234b0701fe26d1df24daf2dcd7227..977685b8960ae105a57fae75b7d5bcdf314f3130"
}
,{
"testCaseDescription": "ruby-regex-delete-insert-test",
"expectedResult": {
"changes": {
"regex.rb": [
{
"span": {
"replace": [
{
"start": [
1,
1
],
"end": [
5,
1
]
},
{
"start": [
1,
1
],
"end": [
1,
19
]
}
]
},
"summary": "Replaced '%r/a/\n%r<a<b>c>\n/^(foo|bar[^_])$/i\n/^(foo|bar[^_])$/i\n' at line 1, column 1 - line 5, column 1 with the '/^(foo|bar[^_])$/i' regex"
}
]
},
"errors": {}
},
"filePaths": [
"regex.rb"
],
"patch": [
"diff --git a/regex.rb b/regex.rb",
"index c801d61..42d4984 100644",
"--- a/regex.rb",
"+++ b/regex.rb",
"@@ -1,4 +1,3 @@",
"-%r/a/",
"-%r<a<b>c>",
"+/^(foo|bar[^_])$/i",
" /^(foo|bar[^_])$/i",
" /^(foo|bar[^_])$/i"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "977685b8960ae105a57fae75b7d5bcdf314f3130..5a5851f376095441bfd99d859ee89c48dd8e9e48"
}
,{
"testCaseDescription": "ruby-regex-replacement-test",
"expectedResult": {
"changes": {
"regex.rb": [
{
"span": {
"replace": [
{
"start": [
1,
1
],
"end": [
1,
19
]
},
{
"start": [
1,
1
],
"end": [
5,
1
]
}
]
},
"summary": "Replaced the '/^(foo|bar[^_])$/i' regex with '%r/a/\n%r<a<b>c>\n/^(foo|bar[^_])$/i\n/^(foo|bar[^_])$/i\n' at line 1, column 1 - line 5, column 1"
}
]
},
"errors": {}
},
"filePaths": [
"regex.rb"
],
"patch": [
"diff --git a/regex.rb b/regex.rb",
"index 42d4984..c801d61 100644",
"--- a/regex.rb",
"+++ b/regex.rb",
"@@ -1,3 +1,4 @@",
"-/^(foo|bar[^_])$/i",
"+%r/a/",
"+%r<a<b>c>",
" /^(foo|bar[^_])$/i",
" /^(foo|bar[^_])$/i"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "5a5851f376095441bfd99d859ee89c48dd8e9e48..440e583da4d27b5b10b2da94f8c6599d1e730e58"
}
,{
"testCaseDescription": "ruby-regex-delete-replacement-test",
"expectedResult": {
"changes": {
"regex.rb": [
{
"span": {
"replace": [
{
"start": [
1,
1
],
"end": [
5,
1
]
},
{
"start": [
1,
1
],
"end": [
1,
19
]
}
]
},
"summary": "Replaced '%r/a/\n%r<a<b>c>\n/^(foo|bar[^_])$/i\n/^(foo|bar[^_])$/i\n' at line 1, column 1 - line 5, column 1 with the '/^(foo|bar[^_])$/i' regex"
}
]
},
"errors": {}
},
"filePaths": [
"regex.rb"
],
"patch": [
"diff --git a/regex.rb b/regex.rb",
"index c801d61..48e43a9 100644",
"--- a/regex.rb",
"+++ b/regex.rb",
"@@ -1,4 +1,3 @@",
"+/^(foo|bar[^_])$/i",
" %r/a/",
" %r<a<b>c>",
"-/^(foo|bar[^_])$/i",
"-/^(foo|bar[^_])$/i"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "440e583da4d27b5b10b2da94f8c6599d1e730e58..f24be3627259095f39a713912bc963aacea7e9bb"
}
,{
"testCaseDescription": "ruby-regex-delete-test",
"expectedResult": {
"changes": {
"regex.rb": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
19
]
}
},
"summary": "Deleted the '/^(foo|bar[^_])$/i' regex"
}
]
},
"errors": {}
},
"filePaths": [
"regex.rb"
],
"patch": [
"diff --git a/regex.rb b/regex.rb",
"index 48e43a9..b23927a 100644",
"--- a/regex.rb",
"+++ b/regex.rb",
"@@ -1,3 +1,2 @@",
"-/^(foo|bar[^_])$/i",
" %r/a/",
" %r<a<b>c>"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "f24be3627259095f39a713912bc963aacea7e9bb..f9ba05160e0d30d3724104094c926cde57c7fc53"
}
,{
"testCaseDescription": "ruby-regex-delete-rest-test",
"expectedResult": {
"changes": {
"regex.rb": [
{
"span": {
"delete": {
"start": [
2,
1
],
"end": [
2,
10
]
}
},
"summary": "Deleted the '%r<a<b>c>' regex"
}
]
},
"errors": {
"regex.rb": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
6
]
}
},
"summary": "Deleted '%r/a/' at line 1, column 1 - line 1, column 6"
}
]
}
},
"filePaths": [
"regex.rb"
],
"patch": [
"diff --git a/regex.rb b/regex.rb",
"index b23927a..e69de29 100644",
"--- a/regex.rb",
"+++ b/regex.rb",
"@@ -1,2 +0,0 @@",
"-%r/a/",
"-%r<a<b>c>"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "f9ba05160e0d30d3724104094c926cde57c7fc53..6958bb99ad03c2601f180ead5e0dc38c7ca529f4"
}]

View File

@ -66,7 +66,7 @@
"+x === y"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "7c5058a233fff0a5b08a6fa3752565ecbdde40e5..bd8a856e8f56ace4398ea201818f1d2ba28fe4c8"
"shas": "9b401fef54c4531f03e5e7c5a3211248c34657ad..057f2ec123bf8fca2e1294451f3155d381b2367d"
}
,{
"testCaseDescription": "ruby-relational-operator-replacement-insert-test",
@ -187,81 +187,81 @@
" x === y"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "bd8a856e8f56ace4398ea201818f1d2ba28fe4c8..c68133f93df60e32edbf8f4f54fd5fb233857e17"
"shas": "057f2ec123bf8fca2e1294451f3155d381b2367d..beb33b0fa098ff5941569019ecac338ff4c23747"
}
,{
"testCaseDescription": "ruby-relational-operator-delete-insert-test",
"expectedResult": {
"changes": {
"relational-operator.rb": [
{
"span": {
"replace": [
{
"start": [
1,
1
],
"end": [
1,
8
]
},
{
"start": [
1,
1
],
"end": [
1,
7
]
}
]
},
"summary": "Replaced the 'x <=> y' binary statement with the 'x == y' binary statement"
},
{
"span": {
"replace": [
{
"start": [
2,
1
],
"end": [
2,
7
]
},
{
"start": [
2,
1
],
"end": [
2,
7
]
}
]
},
"summary": "Replaced the 'x =~ y' binary statement with the 'x != y' binary statement"
},
{
"span": {
"insert": {
"start": [
1,
3,
1
],
"end": [
1,
7
3,
8
]
}
},
"summary": "Added the 'x == y' binary statement"
},
{
"span": {
"replace": [
{
"start": [
1,
1
],
"end": [
1,
8
]
},
{
"start": [
2,
1
],
"end": [
2,
7
]
}
]
},
"summary": "Replaced the 'x <=> y' binary statement with the 'x != y' binary statement"
},
{
"span": {
"replace": [
{
"start": [
2,
1
],
"end": [
2,
7
]
},
{
"start": [
3,
1
],
"end": [
3,
8
]
}
]
},
"summary": "Replaced the 'x =~ y' binary statement with the 'x === y' binary statement"
"summary": "Added the 'x === y' binary statement"
},
{
"span": {
@ -302,7 +302,7 @@
" x === y"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "c68133f93df60e32edbf8f4f54fd5fb233857e17..ad13ab775a8fd37a46de7b08990b8061c84bba67"
"shas": "beb33b0fa098ff5941569019ecac338ff4c23747..cdd7f387cca6ec572253c7ba82640042c9789960"
}
,{
"testCaseDescription": "ruby-relational-operator-replacement-test",
@ -311,33 +311,57 @@
"relational-operator.rb": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
8
]
}
"replace": [
{
"start": [
1,
1
],
"end": [
1,
7
]
},
{
"start": [
1,
1
],
"end": [
1,
8
]
}
]
},
"summary": "Added the 'x <=> y' binary statement"
"summary": "Replaced the 'x == y' binary statement with the 'x <=> y' binary statement"
},
{
"span": {
"insert": {
"start": [
2,
1
],
"end": [
2,
7
]
}
"replace": [
{
"start": [
2,
1
],
"end": [
2,
7
]
},
{
"start": [
2,
1
],
"end": [
2,
7
]
}
]
},
"summary": "Added the 'x =~ y' binary statement"
"summary": "Replaced the 'x != y' binary statement with the 'x =~ y' binary statement"
},
{
"span": {
@ -354,36 +378,6 @@
},
"summary": "Added the 'x' assignment"
},
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
7
]
}
},
"summary": "Deleted the 'x == y' binary statement"
},
{
"span": {
"delete": {
"start": [
2,
1
],
"end": [
2,
7
]
}
},
"summary": "Deleted the 'x != y' binary statement"
},
{
"span": {
"delete": {
@ -423,7 +417,7 @@
" x === y"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "ad13ab775a8fd37a46de7b08990b8061c84bba67..c61d17cf7eb2887bbdf676ee6e57ebe1dca60402"
"shas": "cdd7f387cca6ec572253c7ba82640042c9789960..222db2072230b160b31d0c0049e9d0fc0b4c9732"
}
,{
"testCaseDescription": "ruby-relational-operator-delete-replacement-test",
@ -592,7 +586,7 @@
"+x =! y"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "c61d17cf7eb2887bbdf676ee6e57ebe1dca60402..99180bace272ebfed8d920758060fa1b1915e229"
"shas": "222db2072230b160b31d0c0049e9d0fc0b4c9732..4d8f05e0991c367332b82a0b952dc8f46eaca027"
}
,{
"testCaseDescription": "ruby-relational-operator-delete-test",
@ -665,7 +659,7 @@
" x =! y"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "99180bace272ebfed8d920758060fa1b1915e229..1326cc387018c547c94716af26d3c421ba8fb0f5"
"shas": "4d8f05e0991c367332b82a0b952dc8f46eaca027..29d507db02c8143d0d74337ab68ebb66bc88cdb8"
}
,{
"testCaseDescription": "ruby-relational-operator-delete-rest-test",
@ -735,5 +729,5 @@
"-x =! y"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "1326cc387018c547c94716af26d3c421ba8fb0f5..90aa585d4ae985a7c45200caf714149779717558"
"shas": "29d507db02c8143d0d74337ab68ebb66bc88cdb8..4ba43472cd82a6924fd8baa66d96683896404d49"
}]

View File

@ -37,7 +37,7 @@
"+end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "759d04410984c3b7b0c25212ef74986fba96a76f..48354aa04a6e30841aa1b0ba10f934aba9d877bb"
"shas": "0d7d2efb442ae2f28c3da74d9c83799be47dbc72..9f74dfe87a937131bf5f9c2747e05e0453423e48"
}
,{
"testCaseDescription": "ruby-rescue-empty-replacement-insert-test",
@ -102,7 +102,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "48354aa04a6e30841aa1b0ba10f934aba9d877bb..ffef7ac3bf0c394c4b150fc38e7d84bcc0116a90"
"shas": "9f74dfe87a937131bf5f9c2747e05e0453423e48..9d0ed136976e525b8d424d729b53d3fcd20ac569"
}
,{
"testCaseDescription": "ruby-rescue-empty-delete-insert-test",
@ -146,7 +146,7 @@
" foo"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "ffef7ac3bf0c394c4b150fc38e7d84bcc0116a90..dbf6e3412604ec2bdd35156d5b9ea52e220c5464"
"shas": "9d0ed136976e525b8d424d729b53d3fcd20ac569..bf6ad5dd6b3c93168c98563fe462b65ea0283f36"
}
,{
"testCaseDescription": "ruby-rescue-empty-replacement-test",
@ -190,7 +190,7 @@
" foo"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "dbf6e3412604ec2bdd35156d5b9ea52e220c5464..3df29e631fd2d388ec3f1aaca908e6b1945e7481"
"shas": "bf6ad5dd6b3c93168c98563fe462b65ea0283f36..6b8e737028d85cb6a03fefdad43cc3d00b0c82df"
}
,{
"testCaseDescription": "ruby-rescue-empty-delete-replacement-test",
@ -271,7 +271,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "3df29e631fd2d388ec3f1aaca908e6b1945e7481..70c02489eb082cc5dd59b661bae79c8df0997ea9"
"shas": "6b8e737028d85cb6a03fefdad43cc3d00b0c82df..9b76eaf0a24d6a091b10468f0b5cd025c36f97c4"
}
,{
"testCaseDescription": "ruby-rescue-empty-delete-test",
@ -317,7 +317,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "70c02489eb082cc5dd59b661bae79c8df0997ea9..7a71af57bd14a190b95e66a932a58c1f64b3983b"
"shas": "9b76eaf0a24d6a091b10468f0b5cd025c36f97c4..9205cc442bb86b20ee5f8368e7d64d6a74bc526a"
}
,{
"testCaseDescription": "ruby-rescue-empty-delete-rest-test",
@ -359,5 +359,5 @@
"-end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "7a71af57bd14a190b95e66a932a58c1f64b3983b..e805bb575511867c24e67d81ccae909f2668e660"
"shas": "9205cc442bb86b20ee5f8368e7d64d6a74bc526a..88b1df1253f9d47de8c6622bf42339efa4011e1c"
}]

View File

@ -37,7 +37,7 @@
"+end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "e805bb575511867c24e67d81ccae909f2668e660..57fbaa6c0752b39141df6d2229a40d52ab46eec2"
"shas": "88b1df1253f9d47de8c6622bf42339efa4011e1c..8c3ca431ac124c46b8adba58dbf5ac68388be3df"
}
,{
"testCaseDescription": "ruby-rescue-last-ex-replacement-insert-test",
@ -102,7 +102,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "57fbaa6c0752b39141df6d2229a40d52ab46eec2..1abc809f7c5f4bce8b655282c1a89c80acdb4719"
"shas": "8c3ca431ac124c46b8adba58dbf5ac68388be3df..8ef219d2d6abce9cbb868b6bb644760f8ad4cab1"
}
,{
"testCaseDescription": "ruby-rescue-last-ex-delete-insert-test",
@ -146,7 +146,7 @@
" foo"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "1abc809f7c5f4bce8b655282c1a89c80acdb4719..4d3835c45aaafa64cf2ea5d23c0e0a7ca25f50ba"
"shas": "8ef219d2d6abce9cbb868b6bb644760f8ad4cab1..62a942a7a862dacf398d845c72e3250a8b997554"
}
,{
"testCaseDescription": "ruby-rescue-last-ex-replacement-test",
@ -190,7 +190,7 @@
" foo"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "4d3835c45aaafa64cf2ea5d23c0e0a7ca25f50ba..1a1c77e9e42914a1ec12b746fa9bfaf045f39be6"
"shas": "62a942a7a862dacf398d845c72e3250a8b997554..d21b498348b62ffd52e61e1d122280728117c2b6"
}
,{
"testCaseDescription": "ruby-rescue-last-ex-delete-replacement-test",
@ -271,7 +271,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "1a1c77e9e42914a1ec12b746fa9bfaf045f39be6..fba897776dd4e1be1f36e4a3685fcdb77e2fdd77"
"shas": "d21b498348b62ffd52e61e1d122280728117c2b6..4bf69f1ed9f6dec0968ca2e5995cf37a84163552"
}
,{
"testCaseDescription": "ruby-rescue-last-ex-delete-test",
@ -317,7 +317,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "fba897776dd4e1be1f36e4a3685fcdb77e2fdd77..c605c98f25261242ec2e73cc56004de8524dea2e"
"shas": "4bf69f1ed9f6dec0968ca2e5995cf37a84163552..d101405b180a5af4170844192febbba1f91d648e"
}
,{
"testCaseDescription": "ruby-rescue-last-ex-delete-rest-test",
@ -359,5 +359,5 @@
"-end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "c605c98f25261242ec2e73cc56004de8524dea2e..875face60282636c8ba6fbd9db4a50c6b8b38fd2"
"shas": "d101405b180a5af4170844192febbba1f91d648e..64a105b8e0f0d5ed48b5635ae42bc173d669b0d8"
}]

View File

@ -34,7 +34,7 @@
"+foo rescue nil"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "dbbf1ed8a8cafe556ea468af463f118f3ca0f4ba..ee8d8559b436b4434abf6fb62e720fd2b2e25e67"
"shas": "64a105b8e0f0d5ed48b5635ae42bc173d669b0d8..6aaf0d02e34c124d4059ac2dbe853328d9d8122e"
}
,{
"testCaseDescription": "ruby-rescue-modifier-replacement-insert-test",
@ -89,7 +89,7 @@
" foo rescue nil"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "ee8d8559b436b4434abf6fb62e720fd2b2e25e67..f757d66e78f7d4e6497ce72a70017e34180e6ed7"
"shas": "6aaf0d02e34c124d4059ac2dbe853328d9d8122e..5ea48446f149f2108142038329657bbfd2b2afa8"
}
,{
"testCaseDescription": "ruby-rescue-modifier-delete-insert-test",
@ -142,7 +142,7 @@
" foo rescue nil"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "f757d66e78f7d4e6497ce72a70017e34180e6ed7..48cf3c8ae9539479ada31649b7907f45750d3587"
"shas": "5ea48446f149f2108142038329657bbfd2b2afa8..a095c7aa6a654fe29503122d89fbbc93454d59df"
}
,{
"testCaseDescription": "ruby-rescue-modifier-replacement-test",
@ -195,7 +195,7 @@
" foo rescue nil"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "48cf3c8ae9539479ada31649b7907f45750d3587..e27305bea14543e812e35efdfad8e15916b44bce"
"shas": "a095c7aa6a654fe29503122d89fbbc93454d59df..b37452c8d9d60ed6f3de5b7ae509620fde53b90a"
}
,{
"testCaseDescription": "ruby-rescue-modifier-delete-replacement-test",
@ -266,7 +266,7 @@
"+foo rescue false"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "e27305bea14543e812e35efdfad8e15916b44bce..8448399194931991c532e1431d5bb57feec7e9d2"
"shas": "b37452c8d9d60ed6f3de5b7ae509620fde53b90a..50e569a50162615ece5db10352eaeafa82341f53"
}
,{
"testCaseDescription": "ruby-rescue-modifier-delete-test",
@ -305,7 +305,7 @@
" foo rescue false"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "8448399194931991c532e1431d5bb57feec7e9d2..0aa3073a2d457a147b4ce034ab0576694ff7ed6d"
"shas": "50e569a50162615ece5db10352eaeafa82341f53..474497e3a66a19aa55e46a15e515ee02bf256469"
}
,{
"testCaseDescription": "ruby-rescue-modifier-delete-rest-test",
@ -343,5 +343,5 @@
"-foo rescue false"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "0aa3073a2d457a147b4ce034ab0576694ff7ed6d..89be77a7b4f5ee9670276a33a97a6aa3941c9cfb"
"shas": "474497e3a66a19aa55e46a15e515ee02bf256469..5a66c79d30e4b6f882b7bf5b09725f800685477c"
}]

View File

@ -34,7 +34,7 @@
"+foo rescue nil"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "89be77a7b4f5ee9670276a33a97a6aa3941c9cfb..55cdbc8c69ef00db47f231d904f083eb28f50160"
"shas": "5a66c79d30e4b6f882b7bf5b09725f800685477c..5d18d0b09433b24373821d04f529ed05d6f59975"
}
,{
"testCaseDescription": "ruby-rescue-modifier2-replacement-insert-test",
@ -89,7 +89,7 @@
" foo rescue nil"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "55cdbc8c69ef00db47f231d904f083eb28f50160..198f5f3b96b3f405c1ff2081a511fac17edc7c91"
"shas": "5d18d0b09433b24373821d04f529ed05d6f59975..3587efe4774bb92a10cfadcb635a159dd12d4dda"
}
,{
"testCaseDescription": "ruby-rescue-modifier2-delete-insert-test",
@ -142,7 +142,7 @@
" foo rescue nil"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "198f5f3b96b3f405c1ff2081a511fac17edc7c91..1e6f032a4125e945220103becbd30842264ab52e"
"shas": "3587efe4774bb92a10cfadcb635a159dd12d4dda..0d647f418552688d23c71bfd192767b40182c131"
}
,{
"testCaseDescription": "ruby-rescue-modifier2-replacement-test",
@ -195,7 +195,7 @@
" foo rescue nil"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "1e6f032a4125e945220103becbd30842264ab52e..a666824e8c4d5b66c6d27e6a0246b63a3042b7a0"
"shas": "0d647f418552688d23c71bfd192767b40182c131..558d1cc091be756adc5e937e0596a63332ae23ec"
}
,{
"testCaseDescription": "ruby-rescue-modifier2-delete-replacement-test",
@ -266,7 +266,7 @@
"+bar rescue nil"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "a666824e8c4d5b66c6d27e6a0246b63a3042b7a0..14d5975cd55f2b7d27ce40f3491786b5644c10a6"
"shas": "558d1cc091be756adc5e937e0596a63332ae23ec..cd015be090fed150ab7fb08f504dd4e1e29dfbb8"
}
,{
"testCaseDescription": "ruby-rescue-modifier2-delete-test",
@ -305,7 +305,7 @@
" bar rescue nil"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "14d5975cd55f2b7d27ce40f3491786b5644c10a6..0446bcdbd6fc1e4f75ecdd984d9428c2d82e4c2a"
"shas": "cd015be090fed150ab7fb08f504dd4e1e29dfbb8..661e3c1180bcf99ca4f57436be80c680c7d045c2"
}
,{
"testCaseDescription": "ruby-rescue-modifier2-delete-rest-test",
@ -343,5 +343,5 @@
"-bar rescue nil"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "0446bcdbd6fc1e4f75ecdd984d9428c2d82e4c2a..375e457b7d8886bdbdb8b3e131a0c001d20ac41c"
"shas": "661e3c1180bcf99ca4f57436be80c680c7d045c2..bfb196cddfde973c40df00378a377105aec110ac"
}]

View File

@ -36,7 +36,7 @@
"+end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "7d242e1a703020b3d44a44dfca02698401fd5888..c1c1d85a11ab375b2a5cecfa753ce55794695893"
"shas": "6e48a275e33b14514779ec5aff0289d628720452..6e80428162a96ca576f24e56a7eb1ca75ab05fb9"
}
,{
"testCaseDescription": "ruby-rescue-insert-test",
@ -77,7 +77,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "c1c1d85a11ab375b2a5cecfa753ce55794695893..d2e5d09c09142af88df3e14e001d4f8b3c50400b"
"shas": "6e80428162a96ca576f24e56a7eb1ca75ab05fb9..2f50e4eec49c3af9f7e8fc9086b8e80e0150ee4d"
}
,{
"testCaseDescription": "ruby-rescue-replacement-test",
@ -119,7 +119,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "d2e5d09c09142af88df3e14e001d4f8b3c50400b..29ff959d72ec67c93481eb566a450a91a5fdb5e3"
"shas": "2f50e4eec49c3af9f7e8fc9086b8e80e0150ee4d..d91d96d240275e2951cb4e0377dd1d6e7e5fb951"
}
,{
"testCaseDescription": "ruby-rescue-delete-replacement-test",
@ -161,7 +161,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "29ff959d72ec67c93481eb566a450a91a5fdb5e3..1e5060ad564b33df252b8ebe36db76da23c71d11"
"shas": "d91d96d240275e2951cb4e0377dd1d6e7e5fb951..cbff6f8b1ba7199dc4d11c95496b7783d175d7be"
}
,{
"testCaseDescription": "ruby-rescue-delete-insert-test",
@ -202,7 +202,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "1e5060ad564b33df252b8ebe36db76da23c71d11..742f43f551628274941ad509b4d47a9467022038"
"shas": "cbff6f8b1ba7199dc4d11c95496b7783d175d7be..4afa14b2b1b955104dd49ccbbc584c8755b87a3c"
}
,{
"testCaseDescription": "ruby-rescue-teardown-test",
@ -242,5 +242,5 @@
"-end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "742f43f551628274941ad509b4d47a9467022038..759d04410984c3b7b0c25212ef74986fba96a76f"
"shas": "4afa14b2b1b955104dd49ccbbc584c8755b87a3c..0d7d2efb442ae2f28c3da74d9c83799be47dbc72"
}]

View File

@ -34,7 +34,7 @@
"+return foo"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "c098817a0924917fa730442b5593361c7558bf94..d177fc3b7a364cc0c0f9b99a698f8368dee22c8c"
"shas": "2352df3ff98f18f6e691d3791a7c7cd99014866b..3551b0e0380e4ef0b34e80981c4df3ee15c60922"
}
,{
"testCaseDescription": "ruby-return-replacement-insert-test",
@ -89,7 +89,7 @@
" return foo"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "d177fc3b7a364cc0c0f9b99a698f8368dee22c8c..53ea66673eb285331f75ac06d498cf043fc6c72b"
"shas": "3551b0e0380e4ef0b34e80981c4df3ee15c60922..60982f31640893ab43a5257fc938d86803f0cf62"
}
,{
"testCaseDescription": "ruby-return-delete-insert-test",
@ -130,7 +130,7 @@
" return foo"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "53ea66673eb285331f75ac06d498cf043fc6c72b..d608622f26473010fc66350571ca61c49fc2fe22"
"shas": "60982f31640893ab43a5257fc938d86803f0cf62..ae7d3be6106931e8ab29487c2e1c5ac1b1acc167"
}
,{
"testCaseDescription": "ruby-return-replacement-test",
@ -171,7 +171,7 @@
" return foo"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "d608622f26473010fc66350571ca61c49fc2fe22..3ac4d31eb749e7ad1387372ebec9a2e6b84a63e3"
"shas": "ae7d3be6106931e8ab29487c2e1c5ac1b1acc167..a0d41bd121e343392d089c1a1f9f66c0a91211e5"
}
,{
"testCaseDescription": "ruby-return-delete-replacement-test",
@ -242,7 +242,7 @@
"+return"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "3ac4d31eb749e7ad1387372ebec9a2e6b84a63e3..4beff4220223e005a178c4d68b23b32b3a1ecd48"
"shas": "a0d41bd121e343392d089c1a1f9f66c0a91211e5..b096c735f98b1414564a9438368b4e9993cfdb32"
}
,{
"testCaseDescription": "ruby-return-delete-test",
@ -281,7 +281,7 @@
" return"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "4beff4220223e005a178c4d68b23b32b3a1ecd48..1428f73c2494d079bf29b577b69da0f668d36be1"
"shas": "b096c735f98b1414564a9438368b4e9993cfdb32..c2f5acaa5df076365cb952c12b28b51e86ff7449"
}
,{
"testCaseDescription": "ruby-return-delete-rest-test",
@ -319,5 +319,5 @@
"-return"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "1428f73c2494d079bf29b577b69da0f668d36be1..6320f83c8822c0efc1ee3f921342eb41977e9fb8"
"shas": "c2f5acaa5df076365cb952c12b28b51e86ff7449..5dd59f93a5877ebe4b124891255f42dc1a304ffd"
}]

View File

@ -50,7 +50,7 @@
"+'foo with \"bar\"'"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "59e2edbe041b887605acb7a535fcceacb50d82a3..e65d8c9000cf029d28a1673f020f37eb43dfd4be"
"shas": "e5a27ac2cadbb7b8eb9cace53ce157fbd1c311ee..46bf36d98b1fab86d089d60438b7bb0065e5cbca"
}
,{
"testCaseDescription": "ruby-string-replacement-insert-test",
@ -138,7 +138,7 @@
" 'foo with \"bar\"'"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "e65d8c9000cf029d28a1673f020f37eb43dfd4be..ce8dd8c8d416851edf4cda7e77c90f7c84706213"
"shas": "46bf36d98b1fab86d089d60438b7bb0065e5cbca..0e30c1f8e5cd37d2777902668dbab6dbd53ec2fc"
}
,{
"testCaseDescription": "ruby-string-delete-insert-test",
@ -221,7 +221,7 @@
" ''"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "ce8dd8c8d416851edf4cda7e77c90f7c84706213..052fa225974c071dad866d796ddde1aecf5b0b35"
"shas": "0e30c1f8e5cd37d2777902668dbab6dbd53ec2fc..a8a5502db8559d0ad28e1e65856ab3480932cb63"
}
,{
"testCaseDescription": "ruby-string-replacement-test",
@ -304,7 +304,7 @@
" ''"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "052fa225974c071dad866d796ddde1aecf5b0b35..7fbee64365bc046de4be39070d47b51793272da8"
"shas": "a8a5502db8559d0ad28e1e65856ab3480932cb63..be4812015b1f636b2dc8ce12ab1d56ed0b12783c"
}
,{
"testCaseDescription": "ruby-string-delete-replacement-test",
@ -424,7 +424,7 @@
"+\"bar with 'foo'\""
],
"gitDir": "test/corpus/repos/ruby",
"shas": "7fbee64365bc046de4be39070d47b51793272da8..a54602000f3a38376ca4a677e1e0fe0da4a42275"
"shas": "be4812015b1f636b2dc8ce12ab1d56ed0b12783c..49947d56a29ad7e69de3eac2800d2b8aafec82f3"
}
,{
"testCaseDescription": "ruby-string-delete-test",
@ -480,7 +480,7 @@
" \"bar with 'foo'\""
],
"gitDir": "test/corpus/repos/ruby",
"shas": "a54602000f3a38376ca4a677e1e0fe0da4a42275..133025dbfa9e5e2089ca6bb7fce8001446d7dee3"
"shas": "49947d56a29ad7e69de3eac2800d2b8aafec82f3..8c6b3909ec2c1329fc28b216284da6fa72a1b463"
}
,{
"testCaseDescription": "ruby-string-delete-rest-test",
@ -534,5 +534,5 @@
"-\"bar with 'foo'\""
],
"gitDir": "test/corpus/repos/ruby",
"shas": "133025dbfa9e5e2089ca6bb7fce8001446d7dee3..2505617f30ca311da1378227cbf6a13d83647b91"
"shas": "8c6b3909ec2c1329fc28b216284da6fa72a1b463..c0aa0ce3ae48f9845e1790cca61bfab311dc366b"
}]

View File

@ -34,7 +34,7 @@
"+`ls -la`"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "f8cc3489b25f8d1857452648c25c51084dbdbdb9..522071b01d711758caecf86fae864d7a5e5e190c"
"shas": "605238536a8c077db018fe6166a83e672be2ec16..4094162f8a10bb99ac1b42e4e8be1094389e7c62"
}
,{
"testCaseDescription": "ruby-subshell-replacement-insert-test",
@ -89,7 +89,7 @@
" `ls -la`"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "522071b01d711758caecf86fae864d7a5e5e190c..8339afa687e64dabdb372ff0b27bb39f832a1d02"
"shas": "4094162f8a10bb99ac1b42e4e8be1094389e7c62..bf37695734822da8e3d74f58710b7506d1ebea9f"
}
,{
"testCaseDescription": "ruby-subshell-delete-insert-test",
@ -142,7 +142,7 @@
" `ls -la`"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "8339afa687e64dabdb372ff0b27bb39f832a1d02..c719966658d8f95beafc1b182efd507251268a5b"
"shas": "bf37695734822da8e3d74f58710b7506d1ebea9f..95073e7df96b873da77272f5a4a6cb75d91c81b6"
}
,{
"testCaseDescription": "ruby-subshell-replacement-test",
@ -195,7 +195,7 @@
" `ls -la`"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "c719966658d8f95beafc1b182efd507251268a5b..611fa19dd10019ef47b3d7477c12855fe89177f2"
"shas": "95073e7df96b873da77272f5a4a6cb75d91c81b6..117a40e3b414453fcf357d35b443e8c81fbb3896"
}
,{
"testCaseDescription": "ruby-subshell-delete-replacement-test",
@ -266,7 +266,7 @@
"+`git status`"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "611fa19dd10019ef47b3d7477c12855fe89177f2..8d03313c9be4bcd64a2a6a3c4047c5497a00686b"
"shas": "117a40e3b414453fcf357d35b443e8c81fbb3896..7f2b5b5d43a6a47b999663bd51fd9165473597c0"
}
,{
"testCaseDescription": "ruby-subshell-delete-test",
@ -305,7 +305,7 @@
" `git status`"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "8d03313c9be4bcd64a2a6a3c4047c5497a00686b..1b0cba06f36513f77bdbf325e75c866ed1311775"
"shas": "7f2b5b5d43a6a47b999663bd51fd9165473597c0..ec20e4356878c7e73d23c95cf6ebf947701be3cb"
}
,{
"testCaseDescription": "ruby-subshell-delete-rest-test",
@ -343,5 +343,5 @@
"-`git status`"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "1b0cba06f36513f77bdbf325e75c866ed1311775..bcd6d0b339d47a3a232e595d43db61acf2bfae04"
"shas": "ec20e4356878c7e73d23c95cf6ebf947701be3cb..411726f78f841009c9db776ee25a39131cd771f9"
}]

View File

@ -66,7 +66,7 @@
"+:\"foo\""
],
"gitDir": "test/corpus/repos/ruby",
"shas": "54b8896e3161e23f3cc38414d860e49c385d98ea..bf0c269b25a439dde0379686ee872b8ee1131636"
"shas": "d4fab0206345351ea94aa3c0e11e19fa2497ce95..34c53b400e2675c4a3bd074a2925dc5db1824784"
}
,{
"testCaseDescription": "ruby-symbol-replacement-insert-test",
@ -187,7 +187,7 @@
" :\"foo\""
],
"gitDir": "test/corpus/repos/ruby",
"shas": "bf0c269b25a439dde0379686ee872b8ee1131636..5644f2ba2009c5ec36ecf85536876ede951bcf97"
"shas": "34c53b400e2675c4a3bd074a2925dc5db1824784..267635681dbaccac6a9d37fbbe8acb6fe9b3ae7a"
}
,{
"testCaseDescription": "ruby-symbol-delete-insert-test",
@ -299,7 +299,7 @@
" :\"foo\""
],
"gitDir": "test/corpus/repos/ruby",
"shas": "5644f2ba2009c5ec36ecf85536876ede951bcf97..9c21efca119534d9cfc40651a91e427ea3d84754"
"shas": "267635681dbaccac6a9d37fbbe8acb6fe9b3ae7a..c5178424c289f7eb1ddee4752f95a38896dfad5b"
}
,{
"testCaseDescription": "ruby-symbol-replacement-test",
@ -411,7 +411,7 @@
" :\"foo\""
],
"gitDir": "test/corpus/repos/ruby",
"shas": "9c21efca119534d9cfc40651a91e427ea3d84754..610699faa6dc50b24bc691c72d95dd45a35d79ec"
"shas": "c5178424c289f7eb1ddee4752f95a38896dfad5b..7df2ab9ac84c6136f7caea6ddec0ba1ff5fe5dca"
}
,{
"testCaseDescription": "ruby-symbol-delete-replacement-test",
@ -580,7 +580,7 @@
"+:\"bar\""
],
"gitDir": "test/corpus/repos/ruby",
"shas": "610699faa6dc50b24bc691c72d95dd45a35d79ec..7160921649a7890563e00272e08199d7d0b78bf4"
"shas": "7df2ab9ac84c6136f7caea6ddec0ba1ff5fe5dca..600837e15d65366755bd0cd601eeb2c0c7c57e04"
}
,{
"testCaseDescription": "ruby-symbol-delete-test",
@ -653,7 +653,7 @@
" :\"bar\""
],
"gitDir": "test/corpus/repos/ruby",
"shas": "7160921649a7890563e00272e08199d7d0b78bf4..5fba852ca0df591631002d4d49e810686949681b"
"shas": "600837e15d65366755bd0cd601eeb2c0c7c57e04..bb1fe59278931cae304fcf5c5ce134a4023ec61a"
}
,{
"testCaseDescription": "ruby-symbol-delete-rest-test",
@ -723,5 +723,5 @@
"-:\"bar\""
],
"gitDir": "test/corpus/repos/ruby",
"shas": "5fba852ca0df591631002d4d49e810686949681b..59e2edbe041b887605acb7a535fcceacb50d82a3"
"shas": "bb1fe59278931cae304fcf5c5ce134a4023ec61a..e5a27ac2cadbb7b8eb9cace53ce157fbd1c311ee"
}]

View File

@ -34,7 +34,7 @@
"+foo ? case1 : case2"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "97f870df43868da61ab367aca7fcbfdf8a77aa00..e1f849d81b2f0565744fbf4f45a7cf54b924eae8"
"shas": "a78a9b4e3e1840c6b004ca6c5951ab277fcc2b2e..0b6919e76c49dd255781689cb9e8266bedf2a509"
}
,{
"testCaseDescription": "ruby-ternary-replacement-insert-test",
@ -89,7 +89,7 @@
" foo ? case1 : case2"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "e1f849d81b2f0565744fbf4f45a7cf54b924eae8..15476ef40fd0d4fd9c8ae6157dc6039fbc450716"
"shas": "0b6919e76c49dd255781689cb9e8266bedf2a509..2f097b4aa58daa61dc86f0d3ed1ebd3f2d354ad3"
}
,{
"testCaseDescription": "ruby-ternary-delete-insert-test",
@ -196,7 +196,7 @@
" foo ? case1 : case2"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "15476ef40fd0d4fd9c8ae6157dc6039fbc450716..0f6207e02eb77f9f87e4a2b7256e0a80f978adc8"
"shas": "2f097b4aa58daa61dc86f0d3ed1ebd3f2d354ad3..9aa3b774fabc0345ee1ccf288b32f9eac8ada595"
}
,{
"testCaseDescription": "ruby-ternary-replacement-test",
@ -303,7 +303,7 @@
" foo ? case1 : case2"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "0f6207e02eb77f9f87e4a2b7256e0a80f978adc8..1eb7b010282784002c1064e2433e57457e048cbb"
"shas": "9aa3b774fabc0345ee1ccf288b32f9eac8ada595..81a6e76b419639e54431411ec6ba2027ec4623b7"
}
,{
"testCaseDescription": "ruby-ternary-delete-replacement-test",
@ -374,7 +374,7 @@
"+bar ? a : b"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "1eb7b010282784002c1064e2433e57457e048cbb..16fba8824d7b308daeae80ae16375ff007846b9b"
"shas": "81a6e76b419639e54431411ec6ba2027ec4623b7..f3349b20d7078656f0f4f29704e46313b8605e86"
}
,{
"testCaseDescription": "ruby-ternary-delete-test",
@ -413,7 +413,7 @@
" bar ? a : b"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "16fba8824d7b308daeae80ae16375ff007846b9b..0783eee8d94a9d7a8f7d590f0a9716617e145336"
"shas": "f3349b20d7078656f0f4f29704e46313b8605e86..b9138475bd347e21cc37a3cfbeefa75792e1212a"
}
,{
"testCaseDescription": "ruby-ternary-delete-rest-test",
@ -451,5 +451,5 @@
"-bar ? a : b"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "0783eee8d94a9d7a8f7d590f0a9716617e145336..ec2870c9e829ba9514a3fc196f778f73f25ff514"
"shas": "b9138475bd347e21cc37a3cfbeefa75792e1212a..eb07d0330dcc5e169db20129f37bdc0710a3a060"
}]

View File

@ -38,7 +38,7 @@
"+end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "eb51a430951de620d64e6e92df9603e953708321..3305c9604e19f1adb5acc1ac48128f02ba8824b5"
"shas": "ebf30d9e81a6785017c6440782c33494bfc733f9..8621828012cae5fb77705866d0efd0b4c1745ac9"
}
,{
"testCaseDescription": "ruby-unless-replacement-insert-test",
@ -117,7 +117,7 @@
" else"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "3305c9604e19f1adb5acc1ac48128f02ba8824b5..b375e5596a5e365eafe9b0d2bec7778f71f80a59"
"shas": "8621828012cae5fb77705866d0efd0b4c1745ac9..57d21accd21495de17fa924850e50063efada7a4"
}
,{
"testCaseDescription": "ruby-unless-delete-insert-test",
@ -221,7 +221,7 @@
" bar"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "b375e5596a5e365eafe9b0d2bec7778f71f80a59..f8fdadec2dc18f26cceabd013cc59cfc925f261d"
"shas": "57d21accd21495de17fa924850e50063efada7a4..3573c5c84deaf5371848664fce0d7348237d09bc"
}
,{
"testCaseDescription": "ruby-unless-replacement-test",
@ -325,7 +325,7 @@
" bar"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "f8fdadec2dc18f26cceabd013cc59cfc925f261d..ed0a3d5a27a0fef38499b6b79183b9afe9898a0e"
"shas": "3573c5c84deaf5371848664fce0d7348237d09bc..01bb0be3235827b0fa25ab2f281e9abfb1d096dc"
}
,{
"testCaseDescription": "ruby-unless-delete-replacement-test",
@ -379,7 +379,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "ed0a3d5a27a0fef38499b6b79183b9afe9898a0e..0a0941c08b3a3f65dbcbf32e375689ae3c541b42"
"shas": "01bb0be3235827b0fa25ab2f281e9abfb1d096dc..2b1e862b19a99db8dbd439c5af6685b132ea7a60"
}
,{
"testCaseDescription": "ruby-unless-delete-test",
@ -424,7 +424,7 @@
" unless y then"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "0a0941c08b3a3f65dbcbf32e375689ae3c541b42..95eeab305a4bd6687a1e532bc9be0965422ba737"
"shas": "2b1e862b19a99db8dbd439c5af6685b132ea7a60..c38d03848e121cd9de41a839e4622c02b9a7b42c"
}
,{
"testCaseDescription": "ruby-unless-delete-rest-test",
@ -480,5 +480,5 @@
"-end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "95eeab305a4bd6687a1e532bc9be0965422ba737..4bf7d0bf7a5f56e68acbec672e139df1702a7f37"
"shas": "c38d03848e121cd9de41a839e4622c02b9a7b42c..0be4a3f29057260a213f73c63ef721522e3eae8a"
}]

View File

@ -51,7 +51,7 @@
"+foo until done"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "527524ae442ea64d2a0f8d057a8f3f29091b94b7..7195bbfd7970acfb3f61a3a04144c6ed735d95f8"
"shas": "bf240cac08f786723a423ba2a52ab5601fe9eab6..982bd120e39062d0e64b83757d52cf9d03d7624c"
}
,{
"testCaseDescription": "ruby-until-replacement-insert-test",
@ -127,7 +127,7 @@
" foo until done"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "7195bbfd7970acfb3f61a3a04144c6ed735d95f8..a9c0d66a0ce29c04ddfdb3eeb9fd5133df7ad7c4"
"shas": "982bd120e39062d0e64b83757d52cf9d03d7624c..9e9205c3dd650afdbbe4f6a30ebbd24b0a51cb56"
}
,{
"testCaseDescription": "ruby-until-delete-insert-test",
@ -187,7 +187,7 @@
" foo until done"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "a9c0d66a0ce29c04ddfdb3eeb9fd5133df7ad7c4..5e66fb4320749066c271c6ee5922a6662f0f66fc"
"shas": "9e9205c3dd650afdbbe4f6a30ebbd24b0a51cb56..a37d1aec711836740afa5158f72ddb20c22883e9"
}
,{
"testCaseDescription": "ruby-until-replacement-test",
@ -247,7 +247,7 @@
" foo until done"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "5e66fb4320749066c271c6ee5922a6662f0f66fc..aee5892096fa1235af544e9f239aea971a299847"
"shas": "a37d1aec711836740afa5158f72ddb20c22883e9..0241a3eb347aa18ea47bb2d82a75edfc09aea8e2"
}
,{
"testCaseDescription": "ruby-until-delete-replacement-test",
@ -340,7 +340,7 @@
"-foo until done"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "aee5892096fa1235af544e9f239aea971a299847..9fc09b78cdd42bc642860cebd38a3d5baff394b4"
"shas": "0241a3eb347aa18ea47bb2d82a75edfc09aea8e2..b6f00283acc45dfe9e3fa6a50e65e876a939270b"
}
,{
"testCaseDescription": "ruby-until-delete-test",
@ -398,7 +398,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "9fc09b78cdd42bc642860cebd38a3d5baff394b4..f878f5c2c585d3cab149cd4d3402426421383914"
"shas": "b6f00283acc45dfe9e3fa6a50e65e876a939270b..4c843f701c8535d665cf6442539009c9a5afc7e2"
}
,{
"testCaseDescription": "ruby-until-delete-rest-test",
@ -438,5 +438,5 @@
"-end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "f878f5c2c585d3cab149cd4d3402426421383914..9a18b4c80b2e7e2bdca5da3ea6388d1cb4727f8f"
"shas": "4c843f701c8535d665cf6442539009c9a5afc7e2..557278e45f081fc1ba8ff88abf254b66b89f8663"
}]

View File

@ -37,7 +37,7 @@
"+end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "4bf7d0bf7a5f56e68acbec672e139df1702a7f37..5b4964a35255ff016d9da31b9cb8bf36778aa043"
"shas": "beb0bb87a5aae4ff5e5a8b39f8e958e7dec7a08d..f01afe98d6177529863d0126d9799fd17888d0e3"
}
,{
"testCaseDescription": "ruby-when-else-insert-test",
@ -79,7 +79,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "5b4964a35255ff016d9da31b9cb8bf36778aa043..bc90856b69058e9fbce171c0c94504ce05b21a75"
"shas": "f01afe98d6177529863d0126d9799fd17888d0e3..dc02a8b8365bc099e2dbba3b089fdbe168ad00ea"
}
,{
"testCaseDescription": "ruby-when-else-replacement-test",
@ -133,7 +133,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "bc90856b69058e9fbce171c0c94504ce05b21a75..44f9ec6f04b1705e4fcc65bd704593c6945d7f77"
"shas": "dc02a8b8365bc099e2dbba3b089fdbe168ad00ea..6e1d9d793daec61a1ea9a73622857557a8474d45"
}
,{
"testCaseDescription": "ruby-when-else-delete-replacement-test",
@ -187,7 +187,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "44f9ec6f04b1705e4fcc65bd704593c6945d7f77..c1b522289f7864ca47e536478df06830c958061d"
"shas": "6e1d9d793daec61a1ea9a73622857557a8474d45..31b2622527e511f7fcaa28d40d1981a5300c9487"
}
,{
"testCaseDescription": "ruby-when-else-delete-insert-test",
@ -229,7 +229,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "c1b522289f7864ca47e536478df06830c958061d..c3668122d9d5da3171cf5e831a48ee3f42cdb19e"
"shas": "31b2622527e511f7fcaa28d40d1981a5300c9487..24ed75002b60d5ccd91888ece793a66b1604d056"
}
,{
"testCaseDescription": "ruby-when-else-teardown-test",
@ -270,5 +270,5 @@
"-end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "c3668122d9d5da3171cf5e831a48ee3f42cdb19e..51729c359e350d71395532126c23bfed960f2373"
"shas": "24ed75002b60d5ccd91888ece793a66b1604d056..47e3b96f83ebc32e63720d4e679f9465b8bbf9a9"
}]

View File

@ -1,7 +1,8 @@
[{
"testCaseDescription": "ruby-when-setup-test",
"expectedResult": {
"changes": {
"changes": {},
"errors": {
"when.rb": [
{
"span": {
@ -12,31 +13,29 @@
],
"end": [
3,
4
1
]
}
},
"summary": "Added the 'foo' case statement"
"summary": "Added 'case foo\nend\n' at line 1, column 1 - line 3, column 1"
}
]
},
"errors": {}
}
},
"filePaths": [
"when.rb"
],
"patch": [
"diff --git a/when.rb b/when.rb",
"index e69de29..f43e020 100644",
"index e69de29..ee23477 100644",
"--- a/when.rb",
"+++ b/when.rb",
"@@ -0,0 +1,3 @@",
"@@ -0,0 +1,2 @@",
"+case foo",
"+when quux",
"+end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "6320f83c8822c0efc1ee3f921342eb41977e9fb8..74481b83f4aaaca4705cd56d25d4e0159eabf9f3"
"shas": "bfb196cddfde973c40df00378a377105aec110ac..50d92662755113e2d5ac11b1fd62611a0355f9d2"
}
,{
"testCaseDescription": "ruby-when-insert-test",
@ -45,18 +44,30 @@
"when.rb": [
{
"span": {
"insert": {
"start": [
3,
1
],
"end": [
4,
1
]
}
"replace": [
{
"start": [
1,
1
],
"end": [
3,
1
]
},
{
"start": [
1,
1
],
"end": [
3,
4
]
}
]
},
"summary": "Added the 'bar' when comparison in the 'foo' case statement"
"summary": "Replaced 'case foo\nend\n' at line 1, column 1 - line 3, column 1 with the 'foo' case statement"
}
]
},
@ -67,17 +78,16 @@
],
"patch": [
"diff --git a/when.rb b/when.rb",
"index f43e020..404ec25 100644",
"index ee23477..92a40ca 100644",
"--- a/when.rb",
"+++ b/when.rb",
"@@ -1,3 +1,4 @@",
"@@ -1,2 +1,3 @@",
" case foo",
" when quux",
"+when bar",
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "74481b83f4aaaca4705cd56d25d4e0159eabf9f3..3af728dfa3c929198a7b5f92b1326eef3e79c4e0"
"shas": "50d92662755113e2d5ac11b1fd62611a0355f9d2..4682f18a67c366c5e4d6ea2a8cdbe09d4310acae"
}
,{
"testCaseDescription": "ruby-when-replacement-test",
@ -88,11 +98,11 @@
"span": {
"insert": {
"start": [
4,
3,
3
],
"end": [
4,
3,
6
]
}
@ -108,18 +118,17 @@
],
"patch": [
"diff --git a/when.rb b/when.rb",
"index 404ec25..7fb75f1 100644",
"index 92a40ca..3c8eff2 100644",
"--- a/when.rb",
"+++ b/when.rb",
"@@ -1,4 +1,5 @@",
"@@ -1,3 +1,4 @@",
" case foo",
" when quux",
" when bar",
"+ baz",
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "3af728dfa3c929198a7b5f92b1326eef3e79c4e0..e1127e3df1d1ca4cd0a0b1424e1eed2bb185a34f"
"shas": "4682f18a67c366c5e4d6ea2a8cdbe09d4310acae..e50e0e25b759b806b875a0babaf0f73b9d1ea924"
}
,{
"testCaseDescription": "ruby-when-delete-replacement-test",
@ -130,11 +139,11 @@
"span": {
"delete": {
"start": [
4,
3,
3
],
"end": [
4,
3,
6
]
}
@ -150,18 +159,17 @@
],
"patch": [
"diff --git a/when.rb b/when.rb",
"index 7fb75f1..404ec25 100644",
"index 3c8eff2..92a40ca 100644",
"--- a/when.rb",
"+++ b/when.rb",
"@@ -1,5 +1,4 @@",
"@@ -1,4 +1,3 @@",
" case foo",
" when quux",
" when bar",
"- baz",
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "e1127e3df1d1ca4cd0a0b1424e1eed2bb185a34f..715d399400e789e7b9fe8d6298cb768670ddc619"
"shas": "e50e0e25b759b806b875a0babaf0f73b9d1ea924..46322fa13f2978d60d7ec8e5a5058fec570b411b"
}
,{
"testCaseDescription": "ruby-when-delete-insert-test",
@ -170,18 +178,30 @@
"when.rb": [
{
"span": {
"delete": {
"start": [
3,
1
],
"end": [
4,
1
]
}
"replace": [
{
"start": [
1,
1
],
"end": [
3,
4
]
},
{
"start": [
1,
1
],
"end": [
3,
1
]
}
]
},
"summary": "Deleted the 'bar' when comparison in the 'foo' case statement"
"summary": "Replaced the 'foo' case statement with 'case foo\nend\n' at line 1, column 1 - line 3, column 1"
}
]
},
@ -192,22 +212,22 @@
],
"patch": [
"diff --git a/when.rb b/when.rb",
"index 404ec25..f43e020 100644",
"index 92a40ca..ee23477 100644",
"--- a/when.rb",
"+++ b/when.rb",
"@@ -1,4 +1,3 @@",
"@@ -1,3 +1,2 @@",
" case foo",
" when quux",
"-when bar",
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "715d399400e789e7b9fe8d6298cb768670ddc619..eb4e7c3c86b8e2410ba8cbde1a08156eb6ceded7"
"shas": "46322fa13f2978d60d7ec8e5a5058fec570b411b..9c6b2162dae85bd313ff43021cbfcf80ac8cba09"
}
,{
"testCaseDescription": "ruby-when-teardown-test",
"expectedResult": {
"changes": {
"changes": {},
"errors": {
"when.rb": [
{
"span": {
@ -218,29 +238,27 @@
],
"end": [
3,
4
1
]
}
},
"summary": "Deleted the 'foo' case statement"
"summary": "Deleted 'case foo\nend\n' at line 1, column 1 - line 3, column 1"
}
]
},
"errors": {}
}
},
"filePaths": [
"when.rb"
],
"patch": [
"diff --git a/when.rb b/when.rb",
"index f43e020..e69de29 100644",
"index ee23477..e69de29 100644",
"--- a/when.rb",
"+++ b/when.rb",
"@@ -1,3 +0,0 @@",
"@@ -1,2 +0,0 @@",
"-case foo",
"-when quux",
"-end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "eb4e7c3c86b8e2410ba8cbde1a08156eb6ceded7..2ffce3d30f77b7bd24e702013e47f91050c0ed06"
"shas": "9c6b2162dae85bd313ff43021cbfcf80ac8cba09..beb0bb87a5aae4ff5e5a8b39f8e958e7dec7a08d"
}]

View File

@ -51,7 +51,7 @@
"+foo while run"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "0ea1cbaad545a54267144f11a8d792fca30cf547..1c849fa3191de04f500a9534aae7f04708bae91e"
"shas": "dc75e2316ec6fc0b4a7a04f70fae4f0b8387e8c0..52f136d6ec90d30dbbb1e6c6c184c4b17dec95c3"
}
,{
"testCaseDescription": "ruby-while-replacement-insert-test",
@ -127,7 +127,7 @@
" foo while run"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "1c849fa3191de04f500a9534aae7f04708bae91e..ce45201d611ff1a381bee7c0d7b4eba2a5261228"
"shas": "52f136d6ec90d30dbbb1e6c6c184c4b17dec95c3..ecd7b624763b9fc7bd45520889d8a54b9d02c38f"
}
,{
"testCaseDescription": "ruby-while-delete-insert-test",
@ -187,7 +187,7 @@
" foo while run"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "ce45201d611ff1a381bee7c0d7b4eba2a5261228..76f1616d8999184e0058a66f6871ca4f039f5e1c"
"shas": "ecd7b624763b9fc7bd45520889d8a54b9d02c38f..267f5c37d276997a142efbc603e82d911a850460"
}
,{
"testCaseDescription": "ruby-while-replacement-test",
@ -247,7 +247,7 @@
" foo while run"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "76f1616d8999184e0058a66f6871ca4f039f5e1c..d2fb5c6486f918b1d250f5561389fec71fadc005"
"shas": "267f5c37d276997a142efbc603e82d911a850460..676ef8d0d7a203ab3158fcc99160f24cbcef7f3b"
}
,{
"testCaseDescription": "ruby-while-delete-replacement-test",
@ -340,7 +340,7 @@
"-foo while run"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "d2fb5c6486f918b1d250f5561389fec71fadc005..deb693d7595e21ca8bf5d127aba20362b01259ee"
"shas": "676ef8d0d7a203ab3158fcc99160f24cbcef7f3b..b7e86e0a2abc6d7efe25d49e0986baac02e88159"
}
,{
"testCaseDescription": "ruby-while-delete-test",
@ -398,7 +398,7 @@
" end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "deb693d7595e21ca8bf5d127aba20362b01259ee..b96838d1e529db101b960f04c66dd54aeec21d92"
"shas": "b7e86e0a2abc6d7efe25d49e0986baac02e88159..45bb5dcf44e4e6b71f6c2207a12116e32bd77357"
}
,{
"testCaseDescription": "ruby-while-delete-rest-test",
@ -438,5 +438,5 @@
"-end"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "b96838d1e529db101b960f04c66dd54aeec21d92..527524ae442ea64d2a0f8d057a8f3f29091b94b7"
"shas": "45bb5dcf44e4e6b71f6c2207a12116e32bd77357..bf240cac08f786723a423ba2a52ab5601fe9eab6"
}]

View File

@ -34,7 +34,7 @@
"+yield foo"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "e9e47a7e8dfaea6fade11176891263b27322f29d..d3c71a8b9429b7706728aaf0e2ab22580c5a7409"
"shas": "5dd59f93a5877ebe4b124891255f42dc1a304ffd..697d270ad392d6d0f45b951639961b18dd14fc8a"
}
,{
"testCaseDescription": "ruby-yield-replacement-insert-test",
@ -89,7 +89,7 @@
" yield foo"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "d3c71a8b9429b7706728aaf0e2ab22580c5a7409..72ab3af267ac70da88be18c80d66436faa4d4631"
"shas": "697d270ad392d6d0f45b951639961b18dd14fc8a..88bba99b8388ba1b0024b1908a98ca6bfc542ea3"
}
,{
"testCaseDescription": "ruby-yield-delete-insert-test",
@ -130,7 +130,7 @@
" yield foo"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "72ab3af267ac70da88be18c80d66436faa4d4631..b4c41867bc41e284d0edc33e675ee3717fb1d913"
"shas": "88bba99b8388ba1b0024b1908a98ca6bfc542ea3..70d8aa6f925187611954108453f5a7bb7d863d6a"
}
,{
"testCaseDescription": "ruby-yield-replacement-test",
@ -171,7 +171,7 @@
" yield foo"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "b4c41867bc41e284d0edc33e675ee3717fb1d913..45587e828108c8da4b0ed81e4e9eba811537864c"
"shas": "70d8aa6f925187611954108453f5a7bb7d863d6a..a59d0821ea1763dc0a202592a3d2c251044c0e84"
}
,{
"testCaseDescription": "ruby-yield-delete-replacement-test",
@ -242,7 +242,7 @@
"+yield"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "45587e828108c8da4b0ed81e4e9eba811537864c..2174ca8275e9a78b58f66ad3b64a5cae11f83be0"
"shas": "a59d0821ea1763dc0a202592a3d2c251044c0e84..4be7e0fa35d253f2c42ed1abecf5aea6ecd218c7"
}
,{
"testCaseDescription": "ruby-yield-delete-test",
@ -281,7 +281,7 @@
" yield"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "2174ca8275e9a78b58f66ad3b64a5cae11f83be0..ded54423d631ab67007dd284c87a8628935009ce"
"shas": "4be7e0fa35d253f2c42ed1abecf5aea6ecd218c7..17ab5f2f65f6c93f628642e084e781d28997a71d"
}
,{
"testCaseDescription": "ruby-yield-delete-rest-test",
@ -319,5 +319,5 @@
"-yield"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "ded54423d631ab67007dd284c87a8628935009ce..0ea1cbaad545a54267144f11a8d792fca30cf547"
"shas": "17ab5f2f65f6c93f628642e084e781d28997a71d..dc75e2316ec6fc0b4a7a04f70fae4f0b8387e8c0"
}]