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-11-02 10:52:40 -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": "2caa111b93cdfe27ee688fb42530d61864469f6b",
"gitDir": "test/corpus/repos/ruby",
"sha2": "faad322f699f2a7fb2990780784d9529af39cc7f"
}
,{
"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": "faad322f699f2a7fb2990780784d9529af39cc7f",
"gitDir": "test/corpus/repos/ruby",
"sha2": "9a57303b29bf4cbb11738e59e468bdc4366f25d9"
}
,{
"testCaseDescription": "ruby-boolean-operator-delete-insert-test",
"expectedResult": {
"changes": {},
"errors": {}
},
"filePaths": [
"boolean-operator.rb"
],
"sha1": "9a57303b29bf4cbb11738e59e468bdc4366f25d9",
"gitDir": "test/corpus/repos/ruby",
"sha2": "e51568da3aae485740ddcab0189c9b4703400e94"
}
,{
"testCaseDescription": "ruby-boolean-operator-replacement-test",
"expectedResult": {
"changes": {},
"errors": {}
},
"filePaths": [
"boolean-operator.rb"
],
"sha1": "e51568da3aae485740ddcab0189c9b4703400e94",
"gitDir": "test/corpus/repos/ruby",
"sha2": "6880c7cf332b31828250e1e75d1ac18a57b4926e"
}
,{
"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": "6880c7cf332b31828250e1e75d1ac18a57b4926e",
"gitDir": "test/corpus/repos/ruby",
"sha2": "89ab2dfb35b8cda6ba447f4d828e37045188f45d"
}
,{
"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": "89ab2dfb35b8cda6ba447f4d828e37045188f45d",
"gitDir": "test/corpus/repos/ruby",
"sha2": "e87be6da82d448919e23cb217cb6fad4efe4e70a"
}
,{
"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": "e87be6da82d448919e23cb217cb6fad4efe4e70a",
"gitDir": "test/corpus/repos/ruby",
"sha2": "7438fb657d6bcd7152c24972bb0a5ff08d265cdf"
}]