1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 15:35:14 +03:00
semantic/test/corpus/diff-summaries/ruby/comparision-operator.json

287 lines
8.7 KiB
JSON
Raw Normal View History

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