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-11-02 10:52:40 -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": "a6cc987577279909c133dd107be314658af52096",
"gitDir": "test/corpus/repos/ruby",
"sha2": "131fef6f4e619ba21aae196508ad47da464a7521"
}
,{
"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": "131fef6f4e619ba21aae196508ad47da464a7521",
"gitDir": "test/corpus/repos/ruby",
"sha2": "562ef945ede5acd367fa44b7573ddefc3adb40a6"
}
,{
"testCaseDescription": "ruby-comparision-operator-delete-insert-test",
"expectedResult": {
"changes": {},
"errors": {}
},
"filePaths": [
"comparision-operator.rb"
],
"sha1": "562ef945ede5acd367fa44b7573ddefc3adb40a6",
"gitDir": "test/corpus/repos/ruby",
"sha2": "b86a4395c4fbee259301a48dc379fffb0bd0c08c"
}
,{
"testCaseDescription": "ruby-comparision-operator-replacement-test",
"expectedResult": {
"changes": {},
"errors": {}
},
"filePaths": [
"comparision-operator.rb"
],
"sha1": "b86a4395c4fbee259301a48dc379fffb0bd0c08c",
"gitDir": "test/corpus/repos/ruby",
"sha2": "100048493fbc25d6d5f69ac666fca912ada2b881"
}
,{
"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": "100048493fbc25d6d5f69ac666fca912ada2b881",
"gitDir": "test/corpus/repos/ruby",
"sha2": "75e215a050c982e520b3d2b4bf5cd60fecb4fd70"
}
,{
"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": "75e215a050c982e520b3d2b4bf5cd60fecb4fd70",
"gitDir": "test/corpus/repos/ruby",
"sha2": "49ab3f0e45bd202ca0ece11d769f95b525bf0fdd"
}
,{
"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": "49ab3f0e45bd202ca0ece11d769f95b525bf0fdd",
"gitDir": "test/corpus/repos/ruby",
"sha2": "2fa42e599e69ccace9903152479a5ac1fb0609e3"
}]