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": "e83a820baf76d0c567f311dadcd384798f8ffbb6",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "d8211ccc9351ff0e9386837a3eca2f78abc298c2"
|
|
}
|
|
,{
|
|
"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": "d8211ccc9351ff0e9386837a3eca2f78abc298c2",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "63dc3b5eeb14e9c8e7ca8665884bd5d9870e5a3b"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-boolean-operator-delete-insert-test",
|
|
"expectedResult": {
|
|
"changes": {},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"boolean-operator.rb"
|
|
],
|
|
"sha1": "63dc3b5eeb14e9c8e7ca8665884bd5d9870e5a3b",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "76b49d92de9d05c91907a8b5d50d6fe8af6c47a9"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-boolean-operator-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"boolean-operator.rb"
|
|
],
|
|
"sha1": "76b49d92de9d05c91907a8b5d50d6fe8af6c47a9",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "dab7a33e31b47a099bc9fa0b50bb7269ede282cd"
|
|
}
|
|
,{
|
|
"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": "dab7a33e31b47a099bc9fa0b50bb7269ede282cd",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "bc8f21a812699c59ff344765b1b81774d456dcaf"
|
|
}
|
|
,{
|
|
"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": "bc8f21a812699c59ff344765b1b81774d456dcaf",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "8664a5e920b6d5f1d10643c7a154794c5f997592"
|
|
}
|
|
,{
|
|
"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": "8664a5e920b6d5f1d10643c7a154794c5f997592",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "c91cf4c77227af9b4b7023ed1f85ad0dbbf1e6f2"
|
|
}]
|