1
1
mirror of https://github.com/github/semantic.git synced 2024-12-26 00:12:29 +03:00
semantic/test/corpus/diff-summaries/ruby/boolean-operator.json
2016-10-26 12:54:21 -07:00

197 lines
5.6 KiB
JSON

[{
"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": "de51643f43d1fd9e94a202129b4d0fa9237079b9",
"gitDir": "test/corpus/repos/ruby",
"sha2": "117acd26f18d2ad3695b5c7ec006cfdc868c1135"
}
,{
"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": "117acd26f18d2ad3695b5c7ec006cfdc868c1135",
"gitDir": "test/corpus/repos/ruby",
"sha2": "53de33de6c1047783c79bb15eef13b2a4eb35cfb"
}
,{
"testCaseDescription": "ruby-boolean-operator-delete-insert-test",
"expectedResult": {
"changes": {},
"errors": {}
},
"filePaths": [
"boolean-operator.rb"
],
"sha1": "53de33de6c1047783c79bb15eef13b2a4eb35cfb",
"gitDir": "test/corpus/repos/ruby",
"sha2": "b0ca2977dd3e30c3de654e1299896591615e9cd8"
}
,{
"testCaseDescription": "ruby-boolean-operator-replacement-test",
"expectedResult": {
"changes": {},
"errors": {}
},
"filePaths": [
"boolean-operator.rb"
],
"sha1": "b0ca2977dd3e30c3de654e1299896591615e9cd8",
"gitDir": "test/corpus/repos/ruby",
"sha2": "2babebcfb8f104b0b06869f967fca79f5959cf96"
}
,{
"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": "2babebcfb8f104b0b06869f967fca79f5959cf96",
"gitDir": "test/corpus/repos/ruby",
"sha2": "5e65c356a508df6dda37793c5e2b7899a0625459"
}
,{
"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": "5e65c356a508df6dda37793c5e2b7899a0625459",
"gitDir": "test/corpus/repos/ruby",
"sha2": "cc4581c3f35c5c5976e193b1922d1771f30dde7e"
}
,{
"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": "cc4581c3f35c5c5976e193b1922d1771f30dde7e",
"gitDir": "test/corpus/repos/ruby",
"sha2": "30fc582bda0a17ec0c227f5aa92c121413043048"
}]