mirror of
https://github.com/github/semantic.git
synced 2024-12-23 23:11:50 +03:00
287 lines
8.7 KiB
JSON
287 lines
8.7 KiB
JSON
[{
|
|
"testCaseDescription": "ruby-comparision-operator-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"comparision-operator.rb": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
6
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'x < y' relational operator"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
6
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'a > b' relational operator"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"comparision-operator.rb"
|
|
],
|
|
"sha1": "d9fd71dd552ac1126cc260256daa287ec4fa5a8f",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "9c481cdecb8540f664dd3494fec9eb4210f3d6e0"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-comparision-operator-replacement-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"comparision-operator.rb": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'x <= y' relational operator"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'a >= b' relational operator"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
3,
|
|
1
|
|
],
|
|
"end": [
|
|
3,
|
|
6
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'x < y' relational operator"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
4,
|
|
1
|
|
],
|
|
"end": [
|
|
4,
|
|
6
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'a > b' relational operator"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"comparision-operator.rb"
|
|
],
|
|
"sha1": "9c481cdecb8540f664dd3494fec9eb4210f3d6e0",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "595ce7dbaa3e6076f5674cdfc41e5cf76d0b3439"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-comparision-operator-delete-insert-test",
|
|
"expectedResult": {
|
|
"changes": {},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"comparision-operator.rb"
|
|
],
|
|
"sha1": "595ce7dbaa3e6076f5674cdfc41e5cf76d0b3439",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "efd02b510cb25766ae71ca6f00b4a8b8bddbaa3b"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-comparision-operator-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"comparision-operator.rb"
|
|
],
|
|
"sha1": "efd02b510cb25766ae71ca6f00b4a8b8bddbaa3b",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "40fbec69175935909607707814faeab8eef52159"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-comparision-operator-delete-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"comparision-operator.rb": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'x <= y' relational operator"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'a >= b' relational operator"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"comparision-operator.rb"
|
|
],
|
|
"sha1": "40fbec69175935909607707814faeab8eef52159",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "147fa858dd2158f733f389f5b58e2f3a7c0b3f83"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-comparision-operator-delete-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"comparision-operator.rb": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
6
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'x < y' relational operator"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
6
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'a > b' relational operator"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"comparision-operator.rb"
|
|
],
|
|
"sha1": "147fa858dd2158f733f389f5b58e2f3a7c0b3f83",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "79f14476f0c4c49b3eb87e3f4f400998e990c144"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-comparision-operator-delete-rest-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"comparision-operator.rb": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'x <= y' relational operator"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'a >= b' relational operator"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"comparision-operator.rb"
|
|
],
|
|
"sha1": "79f14476f0c4c49b3eb87e3f4f400998e990c144",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "5f5cfc07db459d0020af919b7841bb86c24e5be0"
|
|
}]
|