1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 23:11:50 +03:00
semantic/test/corpus/diff-summaries/ruby/comparision-operator.json
2016-10-26 12:54:21 -07:00

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": "cb54ea2dade6d4e1cf4e439f5f0309e687f4741b",
"gitDir": "test/corpus/repos/ruby",
"sha2": "0c32d82cad149ef917de04e9e9e99e2510783971"
}
,{
"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": "0c32d82cad149ef917de04e9e9e99e2510783971",
"gitDir": "test/corpus/repos/ruby",
"sha2": "d58f6c0a04b786b89b8d57abdc2b319ce24fa130"
}
,{
"testCaseDescription": "ruby-comparision-operator-delete-insert-test",
"expectedResult": {
"changes": {},
"errors": {}
},
"filePaths": [
"comparision-operator.rb"
],
"sha1": "d58f6c0a04b786b89b8d57abdc2b319ce24fa130",
"gitDir": "test/corpus/repos/ruby",
"sha2": "b04c402471d028a074244a9f2bc2a82c716d82db"
}
,{
"testCaseDescription": "ruby-comparision-operator-replacement-test",
"expectedResult": {
"changes": {},
"errors": {}
},
"filePaths": [
"comparision-operator.rb"
],
"sha1": "b04c402471d028a074244a9f2bc2a82c716d82db",
"gitDir": "test/corpus/repos/ruby",
"sha2": "f41b455e38f70d170f1afd415e6cd072c0f0d4c0"
}
,{
"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": "f41b455e38f70d170f1afd415e6cd072c0f0d4c0",
"gitDir": "test/corpus/repos/ruby",
"sha2": "be5be662d80bd38679ea3732e24d19bf316c4939"
}
,{
"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": "be5be662d80bd38679ea3732e24d19bf316c4939",
"gitDir": "test/corpus/repos/ruby",
"sha2": "b2ec1eea7bc8da2b4185715f2e3169cbfd79fcba"
}
,{
"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": "b2ec1eea7bc8da2b4185715f2e3169cbfd79fcba",
"gitDir": "test/corpus/repos/ruby",
"sha2": "a847285255523b2f12866a9edb22ad1f63293e54"
}]