1
1
mirror of https://github.com/github/semantic.git synced 2025-01-03 04:51:57 +03:00

Accept all shapes of ruby operators

This commit is contained in:
Timothy Clem 2016-12-06 11:56:42 -08:00
parent 7d5741f0d3
commit 3b3c6739f8
9 changed files with 124 additions and 120 deletions

View File

@ -40,11 +40,9 @@ termConstructor source sourceSpan name range children allChildren
condition <- withRecord (setCategory (extract expr) Negate) (S.Negate expr)
withDefaultInfo $ S.While condition rest
_ -> withDefaultInfo $ S.Error children
| name `elem` ["binary", "unary"] = case children of
[ _, _ ] -> do
allChildren' <- allChildren
withDefaultInfo $ S.Operator allChildren'
_ -> withDefaultInfo $ S.Error children
| name `elem` ["binary", "unary"] = do
allChildren' <- allChildren
withDefaultInfo $ S.Operator allChildren'
| otherwise = withDefaultInfo $ case (name, children) of
("argument_pair", [ k, v ] ) -> S.Pair k v
("argument_pair", _ ) -> S.Error children

View File

@ -34,7 +34,7 @@
"+foo and bar"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "d4996909ad6798a66c5242d7171125ce6dbe1a50..48a13289cf8477a8ec65f2c725ff5a19f8d968fe"
"shas": "48bff6bf54e74bb5709add925c8101431133d29b..718a1f41b48403cdcb927be311af138014047e2a"
}
,{
"testCaseDescription": "ruby-and-or-replacement-insert-test",
@ -105,7 +105,7 @@
" foo and bar"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "48a13289cf8477a8ec65f2c725ff5a19f8d968fe..e9e52396157d19d0ea8309bfde9fbbc8969c25b8"
"shas": "718a1f41b48403cdcb927be311af138014047e2a..b7e04363c991e6a2cd1df38c5f20aa8e9ff7e337"
}
,{
"testCaseDescription": "ruby-and-or-delete-insert-test",
@ -174,7 +174,7 @@
" foo and bar"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "e9e52396157d19d0ea8309bfde9fbbc8969c25b8..1f4223d928bf293aa10de87993132293e319645b"
"shas": "b7e04363c991e6a2cd1df38c5f20aa8e9ff7e337..82a2a103e2f86084de0d80d198270d87f02eda63"
}
,{
"testCaseDescription": "ruby-and-or-replacement-test",
@ -243,7 +243,7 @@
" foo and bar"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "1f4223d928bf293aa10de87993132293e319645b..042e85f16e48aef7dc6af4270352719ce205803f"
"shas": "82a2a103e2f86084de0d80d198270d87f02eda63..d10ab6a75880a64eef54c3aa82d677def1938901"
}
,{
"testCaseDescription": "ruby-and-or-delete-replacement-test",
@ -285,7 +285,7 @@
"-foo and bar"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "042e85f16e48aef7dc6af4270352719ce205803f..1d63adcfd5097c39be3ef6effada7215154b637d"
"shas": "d10ab6a75880a64eef54c3aa82d677def1938901..f4fa4f7622bdfac02faa1feecd7993e7201467b2"
}
,{
"testCaseDescription": "ruby-and-or-delete-test",
@ -325,7 +325,7 @@
" a or b and c"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "1d63adcfd5097c39be3ef6effada7215154b637d..6980d153b3b188769cd346462b47fa1f9be9327f"
"shas": "f4fa4f7622bdfac02faa1feecd7993e7201467b2..9971253676f78cad3cc69fd652b087501fb4c0bc"
}
,{
"testCaseDescription": "ruby-and-or-delete-rest-test",
@ -379,5 +379,5 @@
"-a or b and c"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "6980d153b3b188769cd346462b47fa1f9be9327f..ab2cd0e19f856846be1afc15d7360e93217b285b"
"shas": "9971253676f78cad3cc69fd652b087501fb4c0bc..e29d844a20e10103ff1197d78c6639bba8fc6e8a"
}]

View File

@ -66,7 +66,7 @@
"+a ^ b"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "697f027d6d676fb642c92ddc7ddb8da69e3398cc..03ba7d6abb29b19726ea92f8c40711b5dce2dd77"
"shas": "f7475f092fd81593aab4939187efba0e1a894cc6..1fb1f51718a4b8ddf240e498b79dd574de91f7ee"
}
,{
"testCaseDescription": "ruby-bitwise-operator-replacement-insert-test",
@ -171,13 +171,28 @@
" a ^ b"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "03ba7d6abb29b19726ea92f8c40711b5dce2dd77..958d81ecdccc8dae2c2cd556ae1f0e30f3714b33"
"shas": "1fb1f51718a4b8ddf240e498b79dd574de91f7ee..6aedb1ce3a8797ff587dd8ab390fd0ce6aeb0d47"
}
,{
"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": [
@ -193,32 +208,17 @@
},
{
"start": [
1,
2,
1
],
"end": [
1,
6
2,
7
]
}
]
},
"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"
"summary": "Replaced the 'a & b' binary statement with the 'a >> b' binary statement"
},
{
"span": {
@ -270,7 +270,7 @@
" a ^ b"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "958d81ecdccc8dae2c2cd556ae1f0e30f3714b33..4dcc3fa0bcda174744b659da9f2473eadf0ecb8e"
"shas": "6aedb1ce3a8797ff587dd8ab390fd0ce6aeb0d47..0549c1aa48fc56756472ca67726a9003416f9454"
}
,{
"testCaseDescription": "ruby-bitwise-operator-replacement-test",
@ -279,30 +279,18 @@
"bitwise-operator.rb": [
{
"span": {
"replace": [
{
"start": [
1,
1
],
"end": [
1,
6
]
},
{
"start": [
1,
1
],
"end": [
1,
6
]
}
]
"insert": {
"start": [
1,
1
],
"end": [
1,
6
]
}
},
"summary": "Replaced the 'a | b' binary statement with the 'a & b' binary statement"
"summary": "Added the 'a & b' binary statement"
},
{
"span": {
@ -319,6 +307,21 @@
},
"summary": "Added the 'a << b' binary statement"
},
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
6
]
}
},
"summary": "Deleted the 'a | b' binary statement"
},
{
"span": {
"delete": {
@ -372,7 +375,7 @@
" a ^ b"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "4dcc3fa0bcda174744b659da9f2473eadf0ecb8e..1ffc21aa9f343b7a5c6f2afddb3d6ca5de818353"
"shas": "0549c1aa48fc56756472ca67726a9003416f9454..8a618461620c18e9ea3a33b5b770de186e326ebc"
}
,{
"testCaseDescription": "ruby-bitwise-operator-delete-replacement-test",
@ -509,7 +512,7 @@
"+a << b"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "1ffc21aa9f343b7a5c6f2afddb3d6ca5de818353..779c99348624f376770ffb3903898df6706425e0"
"shas": "8a618461620c18e9ea3a33b5b770de186e326ebc..a5688f715668b3db076f20ff3399d2bff365d1da"
}
,{
"testCaseDescription": "ruby-bitwise-operator-delete-test",
@ -581,7 +584,7 @@
" a << b"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "779c99348624f376770ffb3903898df6706425e0..ba30429e0a93af0dc2ac14735ce98768c82cec41"
"shas": "a5688f715668b3db076f20ff3399d2bff365d1da..67a9aacd2e7ce87b09f9e3772b7766c58e875edd"
}
,{
"testCaseDescription": "ruby-bitwise-operator-delete-rest-test",
@ -635,5 +638,5 @@
"-a << b"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "ba30429e0a93af0dc2ac14735ce98768c82cec41..759c9b6a5afe7116c6111e9e4c7d78f59a1c5477"
"shas": "67a9aacd2e7ce87b09f9e3772b7766c58e875edd..1965f9bdeebab8468bebb4f2c29230d3a42c255e"
}]

View File

@ -34,7 +34,7 @@
"+a || b"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "ab2cd0e19f856846be1afc15d7360e93217b285b..21b81a5f94e311fc77145a3b606726182aa0640a"
"shas": "e29d844a20e10103ff1197d78c6639bba8fc6e8a..df14bb28f16cb2a1559a25f79ed0f828988ae3f1"
}
,{
"testCaseDescription": "ruby-boolean-operator-replacement-insert-test",
@ -89,7 +89,7 @@
" a || b"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "21b81a5f94e311fc77145a3b606726182aa0640a..9dc42b108d3fa8725ebafc91fbca6503dbd5e9f1"
"shas": "df14bb28f16cb2a1559a25f79ed0f828988ae3f1..f5f5bd68d54c7d785cb8be9fa807e45b0edb3e49"
}
,{
"testCaseDescription": "ruby-boolean-operator-delete-insert-test",
@ -142,7 +142,7 @@
" a || b"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "9dc42b108d3fa8725ebafc91fbca6503dbd5e9f1..dc18b5b2296b84cd671b91d7321ca7d2dffc6a8b"
"shas": "f5f5bd68d54c7d785cb8be9fa807e45b0edb3e49..b6258c7694077f26c384afdba0d38ff1c987c01e"
}
,{
"testCaseDescription": "ruby-boolean-operator-replacement-test",
@ -195,7 +195,7 @@
" a || b"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "dc18b5b2296b84cd671b91d7321ca7d2dffc6a8b..1baa36d78d1601a86a5816c75ce30887da1336e3"
"shas": "b6258c7694077f26c384afdba0d38ff1c987c01e..53428a8acedfee4c1f2f28b0c8b798fc74d5ae20"
}
,{
"testCaseDescription": "ruby-boolean-operator-delete-replacement-test",
@ -266,7 +266,7 @@
"+a && b"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "1baa36d78d1601a86a5816c75ce30887da1336e3..7332c5ce3dea31cecaf057e26751c5d7a5f68f49"
"shas": "53428a8acedfee4c1f2f28b0c8b798fc74d5ae20..11ad3b40423df923fb6260046df3bd83b3b2fc94"
}
,{
"testCaseDescription": "ruby-boolean-operator-delete-test",
@ -305,7 +305,7 @@
" a && b"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "7332c5ce3dea31cecaf057e26751c5d7a5f68f49..ed299b69839af80bf7722aef439775e8c0525cc5"
"shas": "11ad3b40423df923fb6260046df3bd83b3b2fc94..1a515a532b8a07afeeedbdd56956bf3e6a4f4f57"
}
,{
"testCaseDescription": "ruby-boolean-operator-delete-rest-test",
@ -343,5 +343,5 @@
"-a && b"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "ed299b69839af80bf7722aef439775e8c0525cc5..8df827b37e4782bec6ea1faa62b011508a66bfce"
"shas": "1a515a532b8a07afeeedbdd56956bf3e6a4f4f57..7c5058a233fff0a5b08a6fa3752565ecbdde40e5"
}]

View File

@ -50,7 +50,7 @@
"+a > b"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "34030d346875a3ff4ba63b7e41ac3fbd9b01ef10..33a97aefb11d5577ac6491fb2f3117d1684b112f"
"shas": "90aa585d4ae985a7c45200caf714149779717558..3f805e1231d263aaee85a8ac7d2ae11fd70c4fc6"
}
,{
"testCaseDescription": "ruby-comparision-operator-replacement-insert-test",
@ -138,7 +138,7 @@
" a > b"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "33a97aefb11d5577ac6491fb2f3117d1684b112f..eac60604b744fc7ec95d8df9f69d9fb73e44f19d"
"shas": "3f805e1231d263aaee85a8ac7d2ae11fd70c4fc6..a6a5370ffbd9e6d6f1c2b0420eabe85b2724e073"
}
,{
"testCaseDescription": "ruby-comparision-operator-delete-insert-test",
@ -221,7 +221,7 @@
" x < y"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "eac60604b744fc7ec95d8df9f69d9fb73e44f19d..0e66531e7171795f02441a62c9ec03485883c293"
"shas": "a6a5370ffbd9e6d6f1c2b0420eabe85b2724e073..eb604c0bcf71199d5c621faae2e35bf19d5d38f5"
}
,{
"testCaseDescription": "ruby-comparision-operator-replacement-test",
@ -304,7 +304,7 @@
" x < y"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "0e66531e7171795f02441a62c9ec03485883c293..47a912076fa08895ca739d9524554530fc7104fb"
"shas": "eb604c0bcf71199d5c621faae2e35bf19d5d38f5..85ec514fd02a930895b759fde6c1ae1c168f2305"
}
,{
"testCaseDescription": "ruby-comparision-operator-delete-replacement-test",
@ -424,7 +424,7 @@
"+a >= b"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "47a912076fa08895ca739d9524554530fc7104fb..e24622e3d9c83bc533b75eadad6a534fbdac081e"
"shas": "85ec514fd02a930895b759fde6c1ae1c168f2305..6c1ce08787e2be33cdff965236183001674249e0"
}
,{
"testCaseDescription": "ruby-comparision-operator-delete-test",
@ -480,7 +480,7 @@
" a >= b"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "e24622e3d9c83bc533b75eadad6a534fbdac081e..4bf3c1ad5197957bcf335f12523f1c818c4321d0"
"shas": "6c1ce08787e2be33cdff965236183001674249e0..ef13be31a7ebb4b35e3c83e52bc45d3a345d0503"
}
,{
"testCaseDescription": "ruby-comparision-operator-delete-rest-test",
@ -534,5 +534,5 @@
"-a >= b"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "4bf3c1ad5197957bcf335f12523f1c818c4321d0..697f027d6d676fb642c92ddc7ddb8da69e3398cc"
"shas": "ef13be31a7ebb4b35e3c83e52bc45d3a345d0503..f7475f092fd81593aab4939187efba0e1a894cc6"
}]

View File

@ -34,7 +34,7 @@
"+x ||= 5"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "f2764f3c24384919ad4784067bfcc7cb1cd03aea..9f52a57ba1a3826e9ba34d9b90978b1b8448f305"
"shas": "bba90b67e00732e5f4f32a72f7b6b131d33dd30e..aed651d3923765ed3138e049c2cc0ba2cde6cb84"
}
,{
"testCaseDescription": "ruby-conditional-assignment-replacement-insert-test",
@ -89,7 +89,7 @@
" x ||= 5"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "9f52a57ba1a3826e9ba34d9b90978b1b8448f305..14810296b51516e0b2f7465d3ebcf313ebeb8121"
"shas": "aed651d3923765ed3138e049c2cc0ba2cde6cb84..db83fd26ce25ec9193f84fd776f8c36289ce7516"
}
,{
"testCaseDescription": "ruby-conditional-assignment-delete-insert-test",
@ -142,7 +142,7 @@
" x ||= 5"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "14810296b51516e0b2f7465d3ebcf313ebeb8121..6d29d31a956211b3bcba9a892fbb32da12a0919f"
"shas": "db83fd26ce25ec9193f84fd776f8c36289ce7516..c9bcb43f918ac8a89adf2e4f5227113fd65c13cc"
}
,{
"testCaseDescription": "ruby-conditional-assignment-replacement-test",
@ -195,7 +195,7 @@
" x ||= 5"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "6d29d31a956211b3bcba9a892fbb32da12a0919f..81a2fa39a38b603debbc9ba98a9f3c7e04d84064"
"shas": "c9bcb43f918ac8a89adf2e4f5227113fd65c13cc..12100cef49bba40f05ebaf7f015e6f39c409f2c2"
}
,{
"testCaseDescription": "ruby-conditional-assignment-delete-replacement-test",
@ -266,7 +266,7 @@
"+x &&= 7"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "81a2fa39a38b603debbc9ba98a9f3c7e04d84064..32116187c21e6ede5a254591f32347d3d826bb8f"
"shas": "12100cef49bba40f05ebaf7f015e6f39c409f2c2..b2e02b7f3e454208a01199c2196b0a39eaabe4e0"
}
,{
"testCaseDescription": "ruby-conditional-assignment-delete-test",
@ -305,7 +305,7 @@
" x &&= 7"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "32116187c21e6ede5a254591f32347d3d826bb8f..d665026b2102791afb02a90d8a11cb3335bccc51"
"shas": "b2e02b7f3e454208a01199c2196b0a39eaabe4e0..923f68eae40f6ea6b48688f9c0170ceb67f54fb3"
}
,{
"testCaseDescription": "ruby-conditional-assignment-delete-rest-test",
@ -343,5 +343,5 @@
"-x &&= 7"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "d665026b2102791afb02a90d8a11cb3335bccc51..48bff6bf54e74bb5709add925c8101431133d29b"
"shas": "923f68eae40f6ea6b48688f9c0170ceb67f54fb3..016efbbed35a70176cf3ec8bb08369cf7889c2e7"
}]

View File

@ -98,7 +98,7 @@
"+x **= 1"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "759c9b6a5afe7116c6111e9e4c7d78f59a1c5477..0a231b483f2214b0c0c252cf4b91acf63b12cf84"
"shas": "1965f9bdeebab8468bebb4f2c29230d3a42c255e..7c9d58241d4b18ce09a2b955af2bafa7c74982c0"
}
,{
"testCaseDescription": "ruby-math-assignment-replacement-insert-test",
@ -283,7 +283,7 @@
" x *= 1"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "0a231b483f2214b0c0c252cf4b91acf63b12cf84..6e13604bf010d26dcb1c31e2e80e38f540369dc6"
"shas": "7c9d58241d4b18ce09a2b955af2bafa7c74982c0..77f634748f5b464e65820506739bcc6a626d81b9"
}
,{
"testCaseDescription": "ruby-math-assignment-delete-insert-test",
@ -337,7 +337,7 @@
" x /= 1"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "6e13604bf010d26dcb1c31e2e80e38f540369dc6..2df7fab78039530d9e3bb1517c2483cd197100d6"
"shas": "77f634748f5b464e65820506739bcc6a626d81b9..6440a1a1d8cc18d572ea627cb86b9be3f4dc5fa4"
}
,{
"testCaseDescription": "ruby-math-assignment-replacement-test",
@ -391,7 +391,7 @@
" x /= 1"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "2df7fab78039530d9e3bb1517c2483cd197100d6..47348c2b7b65214b05f8cb6ed2b315852431762e"
"shas": "6440a1a1d8cc18d572ea627cb86b9be3f4dc5fa4..68a0167bd4f2dc5c50eef89de25c6f8756a5f101"
}
,{
"testCaseDescription": "ruby-math-assignment-delete-replacement-test",
@ -533,7 +533,7 @@
" x /= 1"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "47348c2b7b65214b05f8cb6ed2b315852431762e..e1059a154b5777bafba9aa2fb5921f516369d6d7"
"shas": "68a0167bd4f2dc5c50eef89de25c6f8756a5f101..f2ef306509a3a836a1c92fe0a1424d07689f6ed8"
}
,{
"testCaseDescription": "ruby-math-assignment-delete-test",
@ -638,7 +638,7 @@
" x *= 1"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "e1059a154b5777bafba9aa2fb5921f516369d6d7..a11f41803e977d9e43f9be55b969ab6e339bd739"
"shas": "f2ef306509a3a836a1c92fe0a1424d07689f6ed8..baf89bf25b9b1f5ce42086e5175f7803db41fce6"
}
,{
"testCaseDescription": "ruby-math-assignment-delete-rest-test",
@ -740,5 +740,5 @@
"-x **= 1"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "a11f41803e977d9e43f9be55b969ab6e339bd739..f2764f3c24384919ad4784067bfcc7cb1cd03aea"
"shas": "baf89bf25b9b1f5ce42086e5175f7803db41fce6..bba90b67e00732e5f4f32a72f7b6b131d33dd30e"
}]

View File

@ -66,7 +66,7 @@
"+x === y"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "8df827b37e4782bec6ea1faa62b011508a66bfce..20c863c1c8efc8c63ce9140b96bb3ea8388e6f33"
"shas": "7c5058a233fff0a5b08a6fa3752565ecbdde40e5..bd8a856e8f56ace4398ea201818f1d2ba28fe4c8"
}
,{
"testCaseDescription": "ruby-relational-operator-replacement-insert-test",
@ -187,7 +187,7 @@
" x === y"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "20c863c1c8efc8c63ce9140b96bb3ea8388e6f33..b72bc96a6ee76dd27ae36edb54c75ac2562be640"
"shas": "bd8a856e8f56ace4398ea201818f1d2ba28fe4c8..c68133f93df60e32edbf8f4f54fd5fb233857e17"
}
,{
"testCaseDescription": "ruby-relational-operator-delete-insert-test",
@ -302,7 +302,7 @@
" x === y"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "b72bc96a6ee76dd27ae36edb54c75ac2562be640..ed02229c217d3defe4884a719bc2f990c434e9d1"
"shas": "c68133f93df60e32edbf8f4f54fd5fb233857e17..ad13ab775a8fd37a46de7b08990b8061c84bba67"
}
,{
"testCaseDescription": "ruby-relational-operator-replacement-test",
@ -326,30 +326,18 @@
},
{
"span": {
"replace": [
{
"start": [
1,
1
],
"end": [
1,
7
]
},
{
"start": [
2,
1
],
"end": [
2,
7
]
}
]
"insert": {
"start": [
2,
1
],
"end": [
2,
7
]
}
},
"summary": "Replaced the 'x == y' binary statement with the 'x =~ y' binary statement"
"summary": "Added the 'x =~ y' binary statement"
},
{
"span": {
@ -366,6 +354,21 @@
},
"summary": "Added the 'x' assignment"
},
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
7
]
}
},
"summary": "Deleted the 'x == y' binary statement"
},
{
"span": {
"delete": {
@ -420,7 +423,7 @@
" x === y"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "ed02229c217d3defe4884a719bc2f990c434e9d1..93fe75a02f05ea9e789c438647f74f2b337bc368"
"shas": "ad13ab775a8fd37a46de7b08990b8061c84bba67..c61d17cf7eb2887bbdf676ee6e57ebe1dca60402"
}
,{
"testCaseDescription": "ruby-relational-operator-delete-replacement-test",
@ -589,7 +592,7 @@
"+x =! y"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "93fe75a02f05ea9e789c438647f74f2b337bc368..18a8c65b72e62e40232f99089fdc14b0bb63c3b0"
"shas": "c61d17cf7eb2887bbdf676ee6e57ebe1dca60402..99180bace272ebfed8d920758060fa1b1915e229"
}
,{
"testCaseDescription": "ruby-relational-operator-delete-test",
@ -662,7 +665,7 @@
" x =! y"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "18a8c65b72e62e40232f99089fdc14b0bb63c3b0..dd39dabe7a3118166c69d84a33bd1a0bc8aecd67"
"shas": "99180bace272ebfed8d920758060fa1b1915e229..1326cc387018c547c94716af26d3c421ba8fb0f5"
}
,{
"testCaseDescription": "ruby-relational-operator-delete-rest-test",
@ -732,5 +735,5 @@
"-x =! y"
],
"gitDir": "test/corpus/repos/ruby",
"shas": "dd39dabe7a3118166c69d84a33bd1a0bc8aecd67..34030d346875a3ff4ba63b7e41ac3fbd9b01ef10"
"shas": "1326cc387018c547c94716af26d3c421ba8fb0f5..90aa585d4ae985a7c45200caf714149779717558"
}]

@ -1 +1 @@
Subproject commit 48bff6bf54e74bb5709add925c8101431133d29b
Subproject commit 016efbbed35a70176cf3ec8bb08369cf7889c2e7