1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 15:35:14 +03:00
semantic/test/corpus/diff-summaries/ruby/boolean-operator.json

197 lines
5.6 KiB
JSON
Raw Normal View History

2016-10-24 20:43:31 +03:00
[{
"testCaseDescription": "ruby-boolean-operator-insert-test",
"expectedResult": {
"changes": {
"boolean-operator.rb": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
7
]
}
},
"summary": "Added the 'a || b' boolean operator"
}
]
},
"errors": {}
},
"filePaths": [
"boolean-operator.rb"
],
"sha1": "e448d5465ceb50fe567825f4ec0398223662b30c",
2016-10-24 20:43:31 +03:00
"gitDir": "test/corpus/repos/ruby",
"sha2": "00ce83e55308701ef012ef40fe520f83f8a30b77"
2016-10-24 20:43:31 +03:00
}
,{
"testCaseDescription": "ruby-boolean-operator-replacement-insert-test",
"expectedResult": {
"changes": {
"boolean-operator.rb": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
7
]
}
},
"summary": "Added the 'a && b' boolean operator"
},
{
"span": {
"insert": {
"start": [
2,
1
],
"end": [
2,
7
]
}
},
"summary": "Added the 'a || b' boolean operator"
}
]
},
"errors": {}
},
"filePaths": [
"boolean-operator.rb"
],
"sha1": "00ce83e55308701ef012ef40fe520f83f8a30b77",
2016-10-24 20:43:31 +03:00
"gitDir": "test/corpus/repos/ruby",
"sha2": "8169026f764057debfcc2133beb659faccee2a44"
2016-10-24 20:43:31 +03:00
}
,{
"testCaseDescription": "ruby-boolean-operator-delete-insert-test",
"expectedResult": {
"changes": {},
"errors": {}
},
"filePaths": [
"boolean-operator.rb"
],
"sha1": "8169026f764057debfcc2133beb659faccee2a44",
2016-10-24 20:43:31 +03:00
"gitDir": "test/corpus/repos/ruby",
"sha2": "3820773b1376b1c99a90313d9d8e69c229e1f919"
2016-10-24 20:43:31 +03:00
}
,{
"testCaseDescription": "ruby-boolean-operator-replacement-test",
"expectedResult": {
"changes": {},
"errors": {}
},
"filePaths": [
"boolean-operator.rb"
],
"sha1": "3820773b1376b1c99a90313d9d8e69c229e1f919",
2016-10-24 20:43:31 +03:00
"gitDir": "test/corpus/repos/ruby",
"sha2": "8ab1c5f83047a3c1479724c61d6792d16fc05779"
2016-10-24 20:43:31 +03:00
}
,{
"testCaseDescription": "ruby-boolean-operator-delete-replacement-test",
"expectedResult": {
"changes": {
"boolean-operator.rb": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
7
]
}
},
"summary": "Deleted the 'a && b' boolean operator"
}
]
},
"errors": {}
},
"filePaths": [
"boolean-operator.rb"
],
"sha1": "8ab1c5f83047a3c1479724c61d6792d16fc05779",
2016-10-24 20:43:31 +03:00
"gitDir": "test/corpus/repos/ruby",
"sha2": "44ff3c87bc204002ee76767bbd263c63a76bd1d4"
2016-10-24 20:43:31 +03:00
}
,{
"testCaseDescription": "ruby-boolean-operator-delete-test",
"expectedResult": {
"changes": {
"boolean-operator.rb": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
7
]
}
},
"summary": "Deleted the 'a || b' boolean operator"
}
]
},
"errors": {}
},
"filePaths": [
"boolean-operator.rb"
],
"sha1": "44ff3c87bc204002ee76767bbd263c63a76bd1d4",
2016-10-24 20:43:31 +03:00
"gitDir": "test/corpus/repos/ruby",
"sha2": "6cb8a6bf176e202035a4816f12a6801002f9ab50"
2016-10-24 20:43:31 +03:00
}
,{
"testCaseDescription": "ruby-boolean-operator-delete-rest-test",
"expectedResult": {
"changes": {
"boolean-operator.rb": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
7
]
}
},
"summary": "Deleted the 'a && b' boolean operator"
}
]
},
"errors": {}
},
"filePaths": [
"boolean-operator.rb"
],
"sha1": "6cb8a6bf176e202035a4816f12a6801002f9ab50",
2016-10-24 20:43:31 +03:00
"gitDir": "test/corpus/repos/ruby",
"sha2": "503ed634ef85bcad21cd50bb9607899508f33a70"
2016-10-24 20:43:31 +03:00
}]