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
2016-10-11 16:18:26 -04: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": "707d6d491b49e1d91b26dc55086e140e997fcaf4",
"gitDir": "test/corpus/repos/javascript",
"sha2": "916c235b3685819d8f98b4805abe2a2f863cee37"
}
,{
"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": "916c235b3685819d8f98b4805abe2a2f863cee37",
"gitDir": "test/corpus/repos/javascript",
"sha2": "fe34e80ceab52842be3fae1f56c762da6716100f"
}
,{
"testCaseDescription": "javascript-relational-operator-delete-insert-test",
"expectedResult": {
"changes": {},
"errors": {}
},
"filePaths": [
"relational-operator.js"
],
"sha1": "fe34e80ceab52842be3fae1f56c762da6716100f",
"gitDir": "test/corpus/repos/javascript",
"sha2": "12ace7b189aaa7cd68b7735eafa5ba5af428222e"
}
,{
"testCaseDescription": "javascript-relational-operator-replacement-test",
"expectedResult": {
"changes": {},
"errors": {}
},
"filePaths": [
"relational-operator.js"
],
"sha1": "12ace7b189aaa7cd68b7735eafa5ba5af428222e",
"gitDir": "test/corpus/repos/javascript",
"sha2": "fd43a8853b4536d9b2cfb81fac73ab21a59ecb7d"
}
,{
"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": "fd43a8853b4536d9b2cfb81fac73ab21a59ecb7d",
"gitDir": "test/corpus/repos/javascript",
"sha2": "76f7572bb3b4761c61b2234b8078fc3dbb74b214"
}
,{
"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": "76f7572bb3b4761c61b2234b8078fc3dbb74b214",
"gitDir": "test/corpus/repos/javascript",
"sha2": "4f1db5cef124c17f6473e7fca95c07ae3f84a4f9"
}
,{
"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": "4f1db5cef124c17f6473e7fca95c07ae3f84a4f9",
"gitDir": "test/corpus/repos/javascript",
"sha2": "22f62c999613fdb9f40f1fcabfd6e3900de152cb"
}]