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/void-operator.json
2016-10-11 16:18:26 -04:00

287 lines
8.6 KiB
JSON

[{
"testCaseDescription": "javascript-void-operator-insert-test",
"expectedResult": {
"changes": {
"void-operator.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
9
]
}
},
"summary": "Added the 'void b()' operator"
}
]
},
"errors": {}
},
"filePaths": [
"void-operator.js"
],
"sha1": "7ba29898c7f45897e7de7f1191e0c6b7f9fac35e",
"gitDir": "test/corpus/repos/javascript",
"sha2": "04efcf66ddcaa70558821725988f42c1af11f3cc"
}
,{
"testCaseDescription": "javascript-void-operator-replacement-insert-test",
"expectedResult": {
"changes": {
"void-operator.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
9
]
}
},
"summary": "Added the 'void c()' operator"
},
{
"span": {
"insert": {
"start": [
2,
1
],
"end": [
2,
9
]
}
},
"summary": "Added the 'void b()' operator"
}
]
},
"errors": {}
},
"filePaths": [
"void-operator.js"
],
"sha1": "04efcf66ddcaa70558821725988f42c1af11f3cc",
"gitDir": "test/corpus/repos/javascript",
"sha2": "2cfcfeb87a2b4a0db7905bc74d3a7e1be38cbf5a"
}
,{
"testCaseDescription": "javascript-void-operator-delete-insert-test",
"expectedResult": {
"changes": {
"void-operator.js": [
{
"span": {
"replace": [
{
"start": [
1,
6
],
"end": [
1,
7
]
},
{
"start": [
1,
6
],
"end": [
1,
7
]
}
]
},
"summary": "Replaced the 'c' identifier with the 'b' identifier in the b() function call"
}
]
},
"errors": {}
},
"filePaths": [
"void-operator.js"
],
"sha1": "2cfcfeb87a2b4a0db7905bc74d3a7e1be38cbf5a",
"gitDir": "test/corpus/repos/javascript",
"sha2": "cd22e88db42b827ae56fb6ca9edeb221c67f038d"
}
,{
"testCaseDescription": "javascript-void-operator-replacement-test",
"expectedResult": {
"changes": {
"void-operator.js": [
{
"span": {
"replace": [
{
"start": [
1,
6
],
"end": [
1,
7
]
},
{
"start": [
1,
6
],
"end": [
1,
7
]
}
]
},
"summary": "Replaced the 'b' identifier with the 'c' identifier in the c() function call"
}
]
},
"errors": {}
},
"filePaths": [
"void-operator.js"
],
"sha1": "cd22e88db42b827ae56fb6ca9edeb221c67f038d",
"gitDir": "test/corpus/repos/javascript",
"sha2": "0b81ec59795d14187d78eb1f48b8b5e8acb0c748"
}
,{
"testCaseDescription": "javascript-void-operator-delete-replacement-test",
"expectedResult": {
"changes": {
"void-operator.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
9
]
}
},
"summary": "Deleted the 'void c()' operator"
},
{
"span": {
"delete": {
"start": [
2,
1
],
"end": [
2,
9
]
}
},
"summary": "Deleted the 'void b()' operator"
},
{
"span": {
"insert": {
"start": [
2,
1
],
"end": [
2,
9
]
}
},
"summary": "Added the 'void c()' operator"
}
]
},
"errors": {}
},
"filePaths": [
"void-operator.js"
],
"sha1": "0b81ec59795d14187d78eb1f48b8b5e8acb0c748",
"gitDir": "test/corpus/repos/javascript",
"sha2": "9860d6a2ad25819e82ac0848010b5d6f7e1b5b76"
}
,{
"testCaseDescription": "javascript-void-operator-delete-test",
"expectedResult": {
"changes": {
"void-operator.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
9
]
}
},
"summary": "Deleted the 'void b()' operator"
}
]
},
"errors": {}
},
"filePaths": [
"void-operator.js"
],
"sha1": "9860d6a2ad25819e82ac0848010b5d6f7e1b5b76",
"gitDir": "test/corpus/repos/javascript",
"sha2": "df7dcb8b1dbc8cd8d7044c0ea75c825e95f55279"
}
,{
"testCaseDescription": "javascript-void-operator-delete-rest-test",
"expectedResult": {
"changes": {
"void-operator.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
9
]
}
},
"summary": "Deleted the 'void c()' operator"
}
]
},
"errors": {}
},
"filePaths": [
"void-operator.js"
],
"sha1": "df7dcb8b1dbc8cd8d7044c0ea75c825e95f55279",
"gitDir": "test/corpus/repos/javascript",
"sha2": "85ef535e2b1570133c3be4bddaffc8513555ad2c"
}]