mirror of
https://github.com/github/semantic.git
synced 2024-12-26 00:12:29 +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": "c6d224f5bc6ab6e6cb5533af46d27b500bfd13f9",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "d136745458c4d97a54a65fb83d3d564f44a8d009"
|
|
}
|
|
,{
|
|
"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": "d136745458c4d97a54a65fb83d3d564f44a8d009",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "4c8c9a76e2b67cd9a28f0c7ef15f9f733f7aa403"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-boolean-operator-delete-insert-test",
|
|
"expectedResult": {
|
|
"changes": {},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"boolean-operator.rb"
|
|
],
|
|
"sha1": "4c8c9a76e2b67cd9a28f0c7ef15f9f733f7aa403",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "244cae261ed923a3ee3013e31e7f9148bfda02de"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-boolean-operator-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"boolean-operator.rb"
|
|
],
|
|
"sha1": "244cae261ed923a3ee3013e31e7f9148bfda02de",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "18b637f790331d71c236935b3ac00dc9c1f8c5e0"
|
|
}
|
|
,{
|
|
"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": "18b637f790331d71c236935b3ac00dc9c1f8c5e0",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "5f5d342a183aa19676b95a9d21cf9cf1f192d8ee"
|
|
}
|
|
,{
|
|
"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": "5f5d342a183aa19676b95a9d21cf9cf1f192d8ee",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "2ec1f923aca58797a34b4e135b5fad41fefee3fd"
|
|
}
|
|
,{
|
|
"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": "2ec1f923aca58797a34b4e135b5fad41fefee3fd",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "b81aba22cfffe48a9d5a0fafe663d65b5bcf4ae7"
|
|
}]
|