mirror of
https://github.com/github/semantic.git
synced 2024-12-23 23:11:50 +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": "5f9fe76e7b8fa65bdfeb40a3dcd3b5e9a2539a0f",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "ed483f14948463ce6fcb3c696be1632d61010527"
|
|
}
|
|
,{
|
|
"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": "ed483f14948463ce6fcb3c696be1632d61010527",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "fb2e6020a7f4bdac05a709cf3a1681bf4f0a1c17"
|
|
}
|
|
,{
|
|
"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": "fb2e6020a7f4bdac05a709cf3a1681bf4f0a1c17",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "574e6e7d2fef94d354fecf250e46f3653aa16aa1"
|
|
}
|
|
,{
|
|
"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": "574e6e7d2fef94d354fecf250e46f3653aa16aa1",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "faa9df404b1d1919cf0863e35b8cf4e875a4c6fe"
|
|
}
|
|
,{
|
|
"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": "faa9df404b1d1919cf0863e35b8cf4e875a4c6fe",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "4ff49b702959f3853fb82b51c85dee616f922613"
|
|
}
|
|
,{
|
|
"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": "4ff49b702959f3853fb82b51c85dee616f922613",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "648beb1be1a18e4ac13e3ac8c988d27e79f48735"
|
|
}
|
|
,{
|
|
"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": "648beb1be1a18e4ac13e3ac8c988d27e79f48735",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "d973e53299f87c5bc7984468597013bd32fc0300"
|
|
}]
|