mirror of
https://github.com/github/semantic.git
synced 2024-12-24 23:42:31 +03:00
287 lines
8.8 KiB
JSON
287 lines
8.8 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"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"delete-operator.js"
|
|
],
|
|
"sha1": "65ca83c92dc43e7ec3188a4a147b775c8c41b3bc",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "122445b4f5765bdf8c7f2ff2868eb05ebc44d742"
|
|
}
|
|
,{
|
|
"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"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
21
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'delete thing['prop']' operator"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"delete-operator.js"
|
|
],
|
|
"sha1": "122445b4f5765bdf8c7f2ff2868eb05ebc44d742",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "ab444685043e0ceb1094d702f1c4cac0ffc0faab"
|
|
}
|
|
,{
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"delete-operator.js"
|
|
],
|
|
"sha1": "ab444685043e0ceb1094d702f1c4cac0ffc0faab",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "7e0aec85a8e631ed34a9ded3055f9e95d01b919f"
|
|
}
|
|
,{
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"delete-operator.js"
|
|
],
|
|
"sha1": "7e0aec85a8e631ed34a9ded3055f9e95d01b919f",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "faba29e73c705969dda0b421967fbe3d84184a30"
|
|
}
|
|
,{
|
|
"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"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
21
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'delete thing['prop']' operator"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
18
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'delete thing.prop' operator"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"delete-operator.js"
|
|
],
|
|
"sha1": "faba29e73c705969dda0b421967fbe3d84184a30",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "bed3cb0247d607c09f60103261a9ceed4c6cb7d0"
|
|
}
|
|
,{
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"delete-operator.js"
|
|
],
|
|
"sha1": "bed3cb0247d607c09f60103261a9ceed4c6cb7d0",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "af914461408da93e7d6b37d7796eb48f5125fa7f"
|
|
}
|
|
,{
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"delete-operator.js"
|
|
],
|
|
"sha1": "af914461408da93e7d6b37d7796eb48f5125fa7f",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "aed867760d9e2f17cfb40da816beacd6c6dbec3e"
|
|
}]
|