1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 23:11:50 +03:00
semantic/test/corpus/diff-summaries/javascript/relational-operator.json
Rick Winfrey dfc11385d8 ++tests
2016-10-14 13:40:07 -05:00

197 lines
5.8 KiB
JSON

[{
"testCaseDescription": "javascript-relational-operator-insert-test",
"expectedResult": {
"changes": {
"relational-operator.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
6
]
}
},
"summary": "Added the 'x < y' relational operator"
}
]
},
"errors": {}
},
"filePaths": [
"relational-operator.js"
],
"sha1": "e6555d14408de30d90a7b79e4d091182ed784144",
"gitDir": "test/corpus/repos/javascript",
"sha2": "853be3a2933dd0440739e49f2e6cbb5b8a7c988d"
}
,{
"testCaseDescription": "javascript-relational-operator-replacement-insert-test",
"expectedResult": {
"changes": {
"relational-operator.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
7
]
}
},
"summary": "Added the 'x <= y' relational operator"
},
{
"span": {
"insert": {
"start": [
2,
1
],
"end": [
2,
6
]
}
},
"summary": "Added the 'x < y' relational operator"
}
]
},
"errors": {}
},
"filePaths": [
"relational-operator.js"
],
"sha1": "853be3a2933dd0440739e49f2e6cbb5b8a7c988d",
"gitDir": "test/corpus/repos/javascript",
"sha2": "da45439b761297a4a004d37d5a5d0844f5c357eb"
}
,{
"testCaseDescription": "javascript-relational-operator-delete-insert-test",
"expectedResult": {
"changes": {},
"errors": {}
},
"filePaths": [
"relational-operator.js"
],
"sha1": "da45439b761297a4a004d37d5a5d0844f5c357eb",
"gitDir": "test/corpus/repos/javascript",
"sha2": "11624e1a755da2b7c72c3ecb47dcf031bef55ee6"
}
,{
"testCaseDescription": "javascript-relational-operator-replacement-test",
"expectedResult": {
"changes": {},
"errors": {}
},
"filePaths": [
"relational-operator.js"
],
"sha1": "11624e1a755da2b7c72c3ecb47dcf031bef55ee6",
"gitDir": "test/corpus/repos/javascript",
"sha2": "86be0c2895d631508dbc9c893f9b7cad94f25610"
}
,{
"testCaseDescription": "javascript-relational-operator-delete-replacement-test",
"expectedResult": {
"changes": {
"relational-operator.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
7
]
}
},
"summary": "Deleted the 'x <= y' relational operator"
}
]
},
"errors": {}
},
"filePaths": [
"relational-operator.js"
],
"sha1": "86be0c2895d631508dbc9c893f9b7cad94f25610",
"gitDir": "test/corpus/repos/javascript",
"sha2": "9b51d4782be7439daee1f6278b105509352bd7e9"
}
,{
"testCaseDescription": "javascript-relational-operator-delete-test",
"expectedResult": {
"changes": {
"relational-operator.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
6
]
}
},
"summary": "Deleted the 'x < y' relational operator"
}
]
},
"errors": {}
},
"filePaths": [
"relational-operator.js"
],
"sha1": "9b51d4782be7439daee1f6278b105509352bd7e9",
"gitDir": "test/corpus/repos/javascript",
"sha2": "71f90a186bf7a6ef1d7f1e36928d144d2dbf093b"
}
,{
"testCaseDescription": "javascript-relational-operator-delete-rest-test",
"expectedResult": {
"changes": {
"relational-operator.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
7
]
}
},
"summary": "Deleted the 'x <= y' relational operator"
}
]
},
"errors": {}
},
"filePaths": [
"relational-operator.js"
],
"sha1": "71f90a186bf7a6ef1d7f1e36928d144d2dbf093b",
"gitDir": "test/corpus/repos/javascript",
"sha2": "17ba0adbd505e57d01caa8bc3911712cff975e3d"
}]