mirror of
https://github.com/github/semantic.git
synced 2024-12-23 14:54:16 +03:00
473 lines
14 KiB
JSON
473 lines
14 KiB
JSON
[{
|
|
"testCaseDescription": "ruby-relational-operator-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"relational-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 'x != y' relational operator"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
3,
|
|
1
|
|
],
|
|
"end": [
|
|
3,
|
|
8
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'x === y' relational operator"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"relational-operator.rb"
|
|
],
|
|
"sha1": "7438fb657d6bcd7152c24972bb0a5ff08d265cdf",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "d8f81291433373aaa5aa1e8d310d3c95aaa5e2db"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-relational-operator-replacement-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"relational-operator.rb": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
8
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'x <=> y' relational operator"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'x =~ y' relational operator"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
3,
|
|
1
|
|
],
|
|
"end": [
|
|
3,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'x' assignment"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
4,
|
|
1
|
|
],
|
|
"end": [
|
|
4,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'x == y' relational operator"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
5,
|
|
1
|
|
],
|
|
"end": [
|
|
5,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'x != y' relational operator"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
6,
|
|
1
|
|
],
|
|
"end": [
|
|
6,
|
|
8
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'x === y' relational operator"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"relational-operator.rb"
|
|
],
|
|
"sha1": "d8f81291433373aaa5aa1e8d310d3c95aaa5e2db",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "5312de4a8f01f11cb30210052b4696ae115f41bd"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-relational-operator-delete-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"relational-operator.rb": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'x == y' relational operator"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
3,
|
|
1
|
|
],
|
|
"end": [
|
|
3,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'x' assignment"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"relational-operator.rb"
|
|
],
|
|
"sha1": "5312de4a8f01f11cb30210052b4696ae115f41bd",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "4d96ec55ca67be282bc4d9593c9e689517ae738b"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-relational-operator-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"relational-operator.rb": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'x == y' relational operator"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
3,
|
|
1
|
|
],
|
|
"end": [
|
|
3,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'x' assignment"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"relational-operator.rb"
|
|
],
|
|
"sha1": "4d96ec55ca67be282bc4d9593c9e689517ae738b",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "9debe213a4c69394108755bb4527972e07fe73f0"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-relational-operator-delete-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"relational-operator.rb": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
8
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'x <=> y' relational operator"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'x =~ y' relational operator"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
3,
|
|
1
|
|
],
|
|
"end": [
|
|
3,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'x' assignment"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
4,
|
|
1
|
|
],
|
|
"end": [
|
|
4,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'x == y' relational operator"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
6,
|
|
1
|
|
],
|
|
"end": [
|
|
6,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'x' assignment"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"relational-operator.rb"
|
|
],
|
|
"sha1": "9debe213a4c69394108755bb4527972e07fe73f0",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "40c53b465de9110a6808f11ba6c616c188e9cf90"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-relational-operator-delete-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"relational-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 'x != y' relational operator"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
3,
|
|
1
|
|
],
|
|
"end": [
|
|
3,
|
|
8
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'x === y' relational operator"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"relational-operator.rb"
|
|
],
|
|
"sha1": "40c53b465de9110a6808f11ba6c616c188e9cf90",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "ee4afe2ff734969802c7d6f3192bc39b63d0fe96"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-relational-operator-delete-rest-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"relational-operator.rb": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
8
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'x <=> y' relational operator"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'x =~ y' relational operator"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
3,
|
|
1
|
|
],
|
|
"end": [
|
|
3,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'x' assignment"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"relational-operator.rb"
|
|
],
|
|
"sha1": "ee4afe2ff734969802c7d6f3192bc39b63d0fe96",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "a6cc987577279909c133dd107be314658af52096"
|
|
}]
|