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": "d89c34036c411a6fb59fb255d12b6f4905750e45",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "91dc83413137f0c6c2d88d064bbf51b99948522c"
|
|
}
|
|
,{
|
|
"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": "91dc83413137f0c6c2d88d064bbf51b99948522c",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "3d6f5e04678a9a0a45d3ad8202fea0eb665c6d96"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-comparision-operator-delete-insert-test",
|
|
"expectedResult": {
|
|
"changes": {},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"comparision-operator.rb"
|
|
],
|
|
"sha1": "3d6f5e04678a9a0a45d3ad8202fea0eb665c6d96",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "f94693b58c2acc980a2ffa917de248c323b04678"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-comparision-operator-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"comparision-operator.rb"
|
|
],
|
|
"sha1": "f94693b58c2acc980a2ffa917de248c323b04678",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "7757261fe40249b058bed9d78071e1374acaca78"
|
|
}
|
|
,{
|
|
"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": "7757261fe40249b058bed9d78071e1374acaca78",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "77cf671e6a2fc627549058567f1f863c98ebc304"
|
|
}
|
|
,{
|
|
"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": "77cf671e6a2fc627549058567f1f863c98ebc304",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "a64677b5140c87fbae1f2f97a243c72747471825"
|
|
}
|
|
,{
|
|
"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": "a64677b5140c87fbae1f2f97a243c72747471825",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "5f3a4177d6f2aa740cf6e6014bfbfb42409c15ac"
|
|
}]
|