mirror of
https://github.com/github/semantic.git
synced 2024-12-21 13:51:44 +03:00
309 lines
9.9 KiB
JSON
309 lines
9.9 KiB
JSON
[{
|
|
"testCaseDescription": "javascript-delete-operator-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"delete-operator.js": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"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": "ba1f4c979646df1521e9a187cc24c8b8afc3cd24",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "22b408a5efa333a6a8d9eb9221c6d158da79b97a"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-delete-operator-replacement-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"delete-operator.js": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "delete-operator.js",
|
|
"end": [
|
|
1,
|
|
18
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'delete thing.prop' operator",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"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": "22b408a5efa333a6a8d9eb9221c6d158da79b97a",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "c8bb0986f68e4a877c005a52b97594cf548cf60a"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-delete-operator-delete-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"delete-operator.js": [
|
|
{
|
|
"span": {
|
|
"replace": [
|
|
{
|
|
"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": "c8bb0986f68e4a877c005a52b97594cf548cf60a",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "4616b0eb947d61ab5f859fcd16067da2f6d73c10"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-delete-operator-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"delete-operator.js": [
|
|
{
|
|
"span": {
|
|
"replace": [
|
|
{
|
|
"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": "4616b0eb947d61ab5f859fcd16067da2f6d73c10",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "bdd2a3aa22441e4f32c6423cca49f16b1003caaf"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-delete-operator-delete-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"delete-operator.js": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "delete-operator.js",
|
|
"end": [
|
|
1,
|
|
18
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'delete thing.prop' operator",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"name": "delete-operator.js",
|
|
"end": [
|
|
2,
|
|
21
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'delete thing['prop']' operator",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"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": "bdd2a3aa22441e4f32c6423cca49f16b1003caaf",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "58411bd05b3352bcc84f5d298a003cd1dfac51db"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-delete-operator-delete-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"delete-operator.js": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"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": "58411bd05b3352bcc84f5d298a003cd1dfac51db",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "f6400b281b3ff58773e3fcc1e7cd8ceafef368d3"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-delete-operator-delete-rest-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"delete-operator.js": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"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": "f6400b281b3ff58773e3fcc1e7cd8ceafef368d3",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "9b9215fdd0036d2a74bfc6a6c4b43187e3ad3ef8"
|
|
}]
|