mirror of
https://github.com/github/semantic.git
synced 2024-12-21 13:51:44 +03:00
297 lines
9.2 KiB
JSON
297 lines
9.2 KiB
JSON
[{
|
|
"testCaseDescription": "javascript-delete-operator-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"delete-operator.js": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
21
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'delete thing['prop']' operator",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"delete-operator.js"
|
|
],
|
|
"sha1": "34d611dc6839b42bba50f800508e3c1eed940690",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "9c01dfb007ff3853c71c2ed944ccf83ae4a4899e"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-delete-operator-replacement-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"delete-operator.js": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
18
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'delete thing.prop' operator",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
21
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'delete thing['prop']' operator",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"delete-operator.js"
|
|
],
|
|
"sha1": "9c01dfb007ff3853c71c2ed944ccf83ae4a4899e",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "fcd04c63372795e232f0ab1dc003078a11e23348"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-delete-operator-delete-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"delete-operator.js": [
|
|
{
|
|
"span": {
|
|
"replace": [
|
|
{
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
21
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"summary": "Replaced the 'delete thing.prop' operator with the 'delete thing['prop']' operator",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"delete-operator.js"
|
|
],
|
|
"sha1": "fcd04c63372795e232f0ab1dc003078a11e23348",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "54acda735d0aa3817a65ab8bae18ac9c3249299f"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-delete-operator-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"delete-operator.js": [
|
|
{
|
|
"span": {
|
|
"replace": [
|
|
{
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
21
|
|
]
|
|
},
|
|
{
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
18
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"summary": "Replaced the 'delete thing['prop']' operator with the 'delete thing.prop' operator",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"delete-operator.js"
|
|
],
|
|
"sha1": "54acda735d0aa3817a65ab8bae18ac9c3249299f",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "16e956f11b3ecc44abf81b4c33cddbd36c9222a7"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-delete-operator-delete-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"delete-operator.js": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
18
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'delete thing.prop' operator",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
21
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'delete thing['prop']' operator",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
18
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'delete thing.prop' operator",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"delete-operator.js"
|
|
],
|
|
"sha1": "16e956f11b3ecc44abf81b4c33cddbd36c9222a7",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "91fc755fdc45f6c82da10cdb9078ff2d8ec66c9c"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-delete-operator-delete-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"delete-operator.js": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
21
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'delete thing['prop']' operator",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"delete-operator.js"
|
|
],
|
|
"sha1": "91fc755fdc45f6c82da10cdb9078ff2d8ec66c9c",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "dadef7d3a1d78afcdb53140c1c32f0bd93f75580"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-delete-operator-delete-rest-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"delete-operator.js": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
18
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'delete thing.prop' operator",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"delete-operator.js"
|
|
],
|
|
"sha1": "dadef7d3a1d78afcdb53140c1c32f0bd93f75580",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "d14d7b09c6761ab1a14c5aeda0a105d44c520617"
|
|
}]
|