mirror of
https://github.com/github/semantic.git
synced 2024-12-21 22:01:46 +03:00
305 lines
8.9 KiB
JSON
305 lines
8.9 KiB
JSON
[{
|
|
"testCaseDescription": "javascript-null-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"null.js": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
5
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'null' identifier",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"null.js"
|
|
],
|
|
"sha1": "e56eea84017cd965ac9d95cdc5c5e95a89d7d4e4",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "3c20e1e7979eb2887701b29dc8774624e2a26aad"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-null-replacement-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"null.js": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'null' return statement",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
5
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'null' identifier",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"null.js"
|
|
],
|
|
"sha1": "3c20e1e7979eb2887701b29dc8774624e2a26aad",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "889e6f6a91e48a97e5c6f56aedecbffe19b74576"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-null-delete-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"null.js": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
5
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'null' identifier",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'null' return statement",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"null.js"
|
|
],
|
|
"sha1": "889e6f6a91e48a97e5c6f56aedecbffe19b74576",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "3b8e6eab1f7a1c5ed97eecc60850b73900c79d85"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-null-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"null.js": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'null' return statement",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
5
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'null' identifier",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"null.js"
|
|
],
|
|
"sha1": "3b8e6eab1f7a1c5ed97eecc60850b73900c79d85",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "93e4edaad54b8a1afce14e4540858e2f48b70f1f"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-null-delete-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"null.js": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'null' return statement",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
5
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'null' identifier",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'null' return statement",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"null.js"
|
|
],
|
|
"sha1": "93e4edaad54b8a1afce14e4540858e2f48b70f1f",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "7401e97a5ae37d195acae99c6ca3f506ccc992db"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-null-delete-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"null.js": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
5
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'null' identifier",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"null.js"
|
|
],
|
|
"sha1": "7401e97a5ae37d195acae99c6ca3f506ccc992db",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "b44818542eea7ad12dd6644f2443f2df779d02d6"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-null-delete-rest-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"null.js": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'null' return statement",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"null.js"
|
|
],
|
|
"sha1": "b44818542eea7ad12dd6644f2443f2df779d02d6",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "330c4f8e410be65c3db4b801d5ca2e08094db242"
|
|
}]
|