mirror of
https://github.com/github/semantic.git
synced 2024-12-23 14:54:16 +03:00
197 lines
5.6 KiB
JSON
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": "ef1f1c6078e38df7c5229a9082bcdd131c802e9c",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "211260abe70db7cc56010fa4398a07f2ef8763cc"
|
|
}
|
|
,{
|
|
"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": "211260abe70db7cc56010fa4398a07f2ef8763cc",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "8f4a455421849f613b43780a1861c62c6b5a6a78"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-boolean-operator-delete-insert-test",
|
|
"expectedResult": {
|
|
"changes": {},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"boolean-operator.rb"
|
|
],
|
|
"sha1": "8f4a455421849f613b43780a1861c62c6b5a6a78",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "ef4e136fc621078c0c252211903115ed47c20cb5"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-boolean-operator-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"boolean-operator.rb"
|
|
],
|
|
"sha1": "ef4e136fc621078c0c252211903115ed47c20cb5",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "e39829a76f7bda6fb22a2cb03e47f08f7bf23e42"
|
|
}
|
|
,{
|
|
"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": "e39829a76f7bda6fb22a2cb03e47f08f7bf23e42",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "a98ef53dbd25141826320c011ee83e6bb5488257"
|
|
}
|
|
,{
|
|
"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": "a98ef53dbd25141826320c011ee83e6bb5488257",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "d710f417d71d8c13824bbfdbd019c0153e12eaca"
|
|
}
|
|
,{
|
|
"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": "d710f417d71d8c13824bbfdbd019c0153e12eaca",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "d2272b2d98b259851cc4b4edfe7aa22d1688c347"
|
|
}]
|