mirror of
https://github.com/github/semantic.git
synced 2024-12-22 14:21:31 +03:00
123 lines
3.3 KiB
JSON
123 lines
3.3 KiB
JSON
[{
|
|
"testCaseDescription": "javascript-assignment-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"assignment.js": [
|
|
"Added the 'x' assignment"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"assignment.js"
|
|
],
|
|
"sha1": "fb95e67942b31df96923eac16fb7e4455e573fc8",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "1d532adb3ba0847e2aea1490229df9ecc3948d0e"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-assignment-replacement-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"assignment.js": [
|
|
"Added the 'x' assignment",
|
|
"Added the 'x' assignment"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"assignment.js"
|
|
],
|
|
"sha1": "1d532adb3ba0847e2aea1490229df9ecc3948d0e",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "73f7da57174b77e3c6fd9661a9324f74d61e9987"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-assignment-delete-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"assignment.js": [
|
|
"Replaced '1' with '0' in an assignment to x"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"assignment.js"
|
|
],
|
|
"sha1": "73f7da57174b77e3c6fd9661a9324f74d61e9987",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "51931e40913bd2a0abb73783875691c1991cdb4b"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-assignment-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"assignment.js": [
|
|
"Replaced '0' with '1' in an assignment to x"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"assignment.js"
|
|
],
|
|
"sha1": "51931e40913bd2a0abb73783875691c1991cdb4b",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "f8bb8ef5651625aefc852cf9bac94e16a3825006"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-assignment-delete-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"assignment.js": [
|
|
"Deleted the 'x' assignment",
|
|
"Deleted the 'x' assignment",
|
|
"Added the 'x' assignment"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"assignment.js"
|
|
],
|
|
"sha1": "f8bb8ef5651625aefc852cf9bac94e16a3825006",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "2b2ee2d0bc79513726823c3bd0c4c422bc996fa8"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-assignment-delete-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"assignment.js": [
|
|
"Deleted the 'x' assignment"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"assignment.js"
|
|
],
|
|
"sha1": "2b2ee2d0bc79513726823c3bd0c4c422bc996fa8",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "d2edbb08af96ddf56e5d1524219a2a619c7c7b2b"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-assignment-delete-rest-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"assignment.js": [
|
|
"Deleted the 'x' assignment"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"assignment.js"
|
|
],
|
|
"sha1": "d2edbb08af96ddf56e5d1524219a2a619c7c7b2b",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "7db10fa43564f292cd85e885406618b532811567"
|
|
}]
|