1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 13:51:44 +03:00
semantic/test/corpus/diff-summaries/javascript/delete-operator.json
2016-10-11 11:26:57 -04:00

309 lines
9.9 KiB
JSON

[{
"testCaseDescription": "javascript-delete-operator-insert-test",
"expectedResult": {
"changes": {
"delete-operator.js": [
{
"span": {
"that": {
"start": [
1,
1
],
"name": "delete-operator.js",
"end": [
1,
21
]
}
},
"summary": "Added the 'delete thing['prop']' operator",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"delete-operator.js"
],
"sha1": "215414e0397973e2f7d49a8edff9cf1d84fad02a",
"gitDir": "test/corpus/repos/javascript",
"sha2": "d8c710fa6ec1bc818d5abd0e03a3396c962cbf09"
}
,{
"testCaseDescription": "javascript-delete-operator-replacement-insert-test",
"expectedResult": {
"changes": {
"delete-operator.js": [
{
"span": {
"that": {
"start": [
1,
1
],
"name": "delete-operator.js",
"end": [
1,
18
]
}
},
"summary": "Added the 'delete thing.prop' operator",
"tag": "JSONSummary"
},
{
"span": {
"that": {
"start": [
2,
1
],
"name": "delete-operator.js",
"end": [
2,
21
]
}
},
"summary": "Added the 'delete thing['prop']' operator",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"delete-operator.js"
],
"sha1": "d8c710fa6ec1bc818d5abd0e03a3396c962cbf09",
"gitDir": "test/corpus/repos/javascript",
"sha2": "ea533b83665a30a88932b4eeb27cb010d5da3e62"
}
,{
"testCaseDescription": "javascript-delete-operator-delete-insert-test",
"expectedResult": {
"changes": {
"delete-operator.js": [
{
"span": {
"these": [
{
"start": [
1,
1
],
"name": "delete-operator.js",
"end": [
1,
18
]
},
{
"start": [
1,
1
],
"name": "delete-operator.js",
"end": [
1,
21
]
}
]
},
"summary": "Replaced the 'delete thing.prop' operator with the 'delete thing['prop']' operator",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"delete-operator.js"
],
"sha1": "ea533b83665a30a88932b4eeb27cb010d5da3e62",
"gitDir": "test/corpus/repos/javascript",
"sha2": "76af60d9b2739cd60803165c951a06f1f43b28d6"
}
,{
"testCaseDescription": "javascript-delete-operator-replacement-test",
"expectedResult": {
"changes": {
"delete-operator.js": [
{
"span": {
"these": [
{
"start": [
1,
1
],
"name": "delete-operator.js",
"end": [
1,
21
]
},
{
"start": [
1,
1
],
"name": "delete-operator.js",
"end": [
1,
18
]
}
]
},
"summary": "Replaced the 'delete thing['prop']' operator with the 'delete thing.prop' operator",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"delete-operator.js"
],
"sha1": "76af60d9b2739cd60803165c951a06f1f43b28d6",
"gitDir": "test/corpus/repos/javascript",
"sha2": "c5d56aba0a3f9250ea6694fb8b69e665e108fcff"
}
,{
"testCaseDescription": "javascript-delete-operator-delete-replacement-test",
"expectedResult": {
"changes": {
"delete-operator.js": [
{
"span": {
"this": {
"start": [
1,
1
],
"name": "delete-operator.js",
"end": [
1,
18
]
}
},
"summary": "Deleted the 'delete thing.prop' operator",
"tag": "JSONSummary"
},
{
"span": {
"this": {
"start": [
2,
1
],
"name": "delete-operator.js",
"end": [
2,
21
]
}
},
"summary": "Deleted the 'delete thing['prop']' operator",
"tag": "JSONSummary"
},
{
"span": {
"that": {
"start": [
2,
1
],
"name": "delete-operator.js",
"end": [
2,
18
]
}
},
"summary": "Added the 'delete thing.prop' operator",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"delete-operator.js"
],
"sha1": "c5d56aba0a3f9250ea6694fb8b69e665e108fcff",
"gitDir": "test/corpus/repos/javascript",
"sha2": "f84b7f615724f057da0b037ba8942ca64baca215"
}
,{
"testCaseDescription": "javascript-delete-operator-delete-test",
"expectedResult": {
"changes": {
"delete-operator.js": [
{
"span": {
"this": {
"start": [
1,
1
],
"name": "delete-operator.js",
"end": [
1,
21
]
}
},
"summary": "Deleted the 'delete thing['prop']' operator",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"delete-operator.js"
],
"sha1": "f84b7f615724f057da0b037ba8942ca64baca215",
"gitDir": "test/corpus/repos/javascript",
"sha2": "f5ecaefd1ea1a6aab1fe3b87edade118bc047069"
}
,{
"testCaseDescription": "javascript-delete-operator-delete-rest-test",
"expectedResult": {
"changes": {
"delete-operator.js": [
{
"span": {
"this": {
"start": [
1,
1
],
"name": "delete-operator.js",
"end": [
1,
18
]
}
},
"summary": "Deleted the 'delete thing.prop' operator",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"delete-operator.js"
],
"sha1": "f5ecaefd1ea1a6aab1fe3b87edade118bc047069",
"gitDir": "test/corpus/repos/javascript",
"sha2": "9dd33ff948d47044417ab8a6cb2dd82903a8a1b4"
}]