mirror of
https://github.com/github/semantic.git
synced 2024-12-23 14:54:16 +03:00
383 lines
12 KiB
JSON
383 lines
12 KiB
JSON
[{
|
|
"testCaseDescription": "ruby-bitwise-operator-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"bitwise-operator.rb": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
6
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'a | b' bitwise operator"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'a >> b' bitwise operator"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
3,
|
|
1
|
|
],
|
|
"end": [
|
|
3,
|
|
6
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'a ^ b' bitwise operator"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"bitwise-operator.rb"
|
|
],
|
|
"sha1": "63c2a0e8a0760588033e72f28e614abb695ce22f",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "f7d7362bd25c1b163cf4be2f0179e760a8126297"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-bitwise-operator-replacement-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"bitwise-operator.rb": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
6
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'a & b' bitwise operator"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'a << b' bitwise operator"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
3,
|
|
1
|
|
],
|
|
"end": [
|
|
3,
|
|
6
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'a | b' bitwise operator"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
4,
|
|
1
|
|
],
|
|
"end": [
|
|
4,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'a >> b' bitwise operator"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
5,
|
|
1
|
|
],
|
|
"end": [
|
|
5,
|
|
6
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'a ^ b' bitwise operator"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"bitwise-operator.rb"
|
|
],
|
|
"sha1": "f7d7362bd25c1b163cf4be2f0179e760a8126297",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "ae4f93a769a86e49554b852b77a5a03f19793afc"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-bitwise-operator-delete-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"bitwise-operator.rb": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
6
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'a | b' bitwise operator"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"bitwise-operator.rb"
|
|
],
|
|
"sha1": "ae4f93a769a86e49554b852b77a5a03f19793afc",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "c3b20c5628570f9198d85a9b5d1da2ddb6be7a17"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-bitwise-operator-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"bitwise-operator.rb": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
6
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'a | b' bitwise operator"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"bitwise-operator.rb"
|
|
],
|
|
"sha1": "c3b20c5628570f9198d85a9b5d1da2ddb6be7a17",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "faacde11fbe9fad9dc546ac35370f6005f66a389"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-bitwise-operator-delete-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"bitwise-operator.rb": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
6
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'a & b' bitwise operator"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'a << b' bitwise operator"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
3,
|
|
1
|
|
],
|
|
"end": [
|
|
3,
|
|
6
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'a | b' bitwise operator"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"bitwise-operator.rb"
|
|
],
|
|
"sha1": "faacde11fbe9fad9dc546ac35370f6005f66a389",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "0cb257a2523b2fe7eed77ea0c0dcc6529537f815"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-bitwise-operator-delete-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"bitwise-operator.rb": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
6
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'a | b' bitwise operator"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'a >> b' bitwise operator"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
3,
|
|
1
|
|
],
|
|
"end": [
|
|
3,
|
|
6
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'a ^ b' bitwise operator"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"bitwise-operator.rb"
|
|
],
|
|
"sha1": "0cb257a2523b2fe7eed77ea0c0dcc6529537f815",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "3af0195b09c10b17cc8bcb9a36794b274c081c43"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-bitwise-operator-delete-rest-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"bitwise-operator.rb": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
6
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'a & b' bitwise operator"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'a << b' bitwise operator"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"bitwise-operator.rb"
|
|
],
|
|
"sha1": "3af0195b09c10b17cc8bcb9a36794b274c081c43",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "aefe753ea24cbc3cab4e8b118d71a3058b882d42"
|
|
}]
|