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

309 lines
9.9 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
],
"name": "delete-operator.js",
"end": [
1,
21
]
}
},
"summary": "Added the 'delete thing['prop']' operator",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"delete-operator.js"
],
2016-10-11 18:54:47 +03:00
"sha1": "ba1f4c979646df1521e9a187cc24c8b8afc3cd24",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:54:47 +03:00
"sha2": "22b408a5efa333a6a8d9eb9221c6d158da79b97a"
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
],
"name": "delete-operator.js",
"end": [
1,
18
]
}
},
"summary": "Added the 'delete thing.prop' operator",
"tag": "JSONSummary"
},
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
2,
1
],
"name": "delete-operator.js",
"end": [
2,
21
]
}
},
"summary": "Added the 'delete thing['prop']' operator",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"delete-operator.js"
],
2016-10-11 18:54:47 +03:00
"sha1": "22b408a5efa333a6a8d9eb9221c6d158da79b97a",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:54:47 +03:00
"sha2": "c8bb0986f68e4a877c005a52b97594cf548cf60a"
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
],
"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"
],
2016-10-11 18:54:47 +03:00
"sha1": "c8bb0986f68e4a877c005a52b97594cf548cf60a",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:54:47 +03:00
"sha2": "4616b0eb947d61ab5f859fcd16067da2f6d73c10"
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
],
"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"
],
2016-10-11 18:54:47 +03:00
"sha1": "4616b0eb947d61ab5f859fcd16067da2f6d73c10",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:54:47 +03:00
"sha2": "bdd2a3aa22441e4f32c6423cca49f16b1003caaf"
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
],
"name": "delete-operator.js",
"end": [
1,
18
]
}
},
"summary": "Deleted the 'delete thing.prop' operator",
"tag": "JSONSummary"
},
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
2,
1
],
"name": "delete-operator.js",
"end": [
2,
21
]
}
},
"summary": "Deleted the 'delete thing['prop']' operator",
"tag": "JSONSummary"
},
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
2,
1
],
"name": "delete-operator.js",
"end": [
2,
18
]
}
},
"summary": "Added the 'delete thing.prop' operator",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"delete-operator.js"
],
2016-10-11 18:54:47 +03:00
"sha1": "bdd2a3aa22441e4f32c6423cca49f16b1003caaf",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:54:47 +03:00
"sha2": "58411bd05b3352bcc84f5d298a003cd1dfac51db"
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
],
"name": "delete-operator.js",
"end": [
1,
21
]
}
},
"summary": "Deleted the 'delete thing['prop']' operator",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"delete-operator.js"
],
2016-10-11 18:54:47 +03:00
"sha1": "58411bd05b3352bcc84f5d298a003cd1dfac51db",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:54:47 +03:00
"sha2": "f6400b281b3ff58773e3fcc1e7cd8ceafef368d3"
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
],
"name": "delete-operator.js",
"end": [
1,
18
]
}
},
"summary": "Deleted the 'delete thing.prop' operator",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"delete-operator.js"
],
2016-10-11 18:54:47 +03:00
"sha1": "f6400b281b3ff58773e3fcc1e7cd8ceafef368d3",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:54:47 +03:00
"sha2": "9b9215fdd0036d2a74bfc6a6c4b43187e3ad3ef8"
2016-10-11 18:12:20 +03:00
}]