1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 05:41:54 +03:00
semantic/test/corpus/diff-summaries/javascript/delete-operator.json

287 lines
8.8 KiB
JSON
Raw Normal View History

2016-10-11 18:12:20 +03:00
[{
"testCaseDescription": "javascript-delete-operator-insert-test",
"expectedResult": {
"changes": {
"delete-operator.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
21
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Added the 'delete thing['prop']' operator"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"delete-operator.js"
],
2016-10-11 23:17:34 +03:00
"sha1": "660d4f31a366c484dcf287cc129d2236e0064639",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 23:17:34 +03:00
"sha2": "dcdf4363cc41756d111762831febfeb2bc5c3561"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-delete-operator-replacement-insert-test",
"expectedResult": {
"changes": {
"delete-operator.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
18
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Added the 'delete thing.prop' operator"
2016-10-11 18:12:20 +03:00
},
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
2,
1
],
"end": [
2,
21
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Added the 'delete thing['prop']' operator"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"delete-operator.js"
],
2016-10-11 23:17:34 +03:00
"sha1": "dcdf4363cc41756d111762831febfeb2bc5c3561",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 23:17:34 +03:00
"sha2": "b9195fb8317d07798a424a3ad5897669cf2fec4d"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-delete-operator-delete-insert-test",
"expectedResult": {
"changes": {
"delete-operator.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"replace": [
2016-10-11 18:12:20 +03:00
{
"start": [
1,
1
],
"end": [
1,
18
]
},
{
"start": [
1,
1
],
"end": [
1,
21
]
}
]
},
2016-10-11 23:17:34 +03:00
"summary": "Replaced the 'delete thing.prop' operator with the 'delete thing['prop']' operator"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"delete-operator.js"
],
2016-10-11 23:17:34 +03:00
"sha1": "b9195fb8317d07798a424a3ad5897669cf2fec4d",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 23:17:34 +03:00
"sha2": "b1aa406089e4aafef90ec5732ba443d1031f561e"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-delete-operator-replacement-test",
"expectedResult": {
"changes": {
"delete-operator.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"replace": [
2016-10-11 18:12:20 +03:00
{
"start": [
1,
1
],
"end": [
1,
21
]
},
{
"start": [
1,
1
],
"end": [
1,
18
]
}
]
},
2016-10-11 23:17:34 +03:00
"summary": "Replaced the 'delete thing['prop']' operator with the 'delete thing.prop' operator"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"delete-operator.js"
],
2016-10-11 23:17:34 +03:00
"sha1": "b1aa406089e4aafef90ec5732ba443d1031f561e",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 23:17:34 +03:00
"sha2": "3d47f770de2c100cdd3f5cfcb8bc43f582e4a368"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-delete-operator-delete-replacement-test",
"expectedResult": {
"changes": {
"delete-operator.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
18
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Deleted the 'delete thing.prop' operator"
2016-10-11 18:12:20 +03:00
},
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
2,
1
],
"end": [
2,
21
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Deleted the 'delete thing['prop']' operator"
2016-10-11 18:12:20 +03:00
},
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
2,
1
],
"end": [
2,
18
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Added the 'delete thing.prop' operator"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"delete-operator.js"
],
2016-10-11 23:17:34 +03:00
"sha1": "3d47f770de2c100cdd3f5cfcb8bc43f582e4a368",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 23:17:34 +03:00
"sha2": "79ed3766548499729284c8eb3ff3cecfaed80a4c"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-delete-operator-delete-test",
"expectedResult": {
"changes": {
"delete-operator.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
21
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Deleted the 'delete thing['prop']' operator"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"delete-operator.js"
],
2016-10-11 23:17:34 +03:00
"sha1": "79ed3766548499729284c8eb3ff3cecfaed80a4c",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 23:17:34 +03:00
"sha2": "3b8b6b7c801a89beb229c8f9b705be4d4465b622"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-delete-operator-delete-rest-test",
"expectedResult": {
"changes": {
"delete-operator.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
18
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Deleted the 'delete thing.prop' operator"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"delete-operator.js"
],
2016-10-11 23:17:34 +03:00
"sha1": "3b8b6b7c801a89beb229c8f9b705be4d4465b622",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 23:17:34 +03:00
"sha2": "8f71c3ee15ecf75d5d1aa9d7f9e82346c26b78e1"
2016-10-11 18:12:20 +03:00
}]