mirror of
https://github.com/github/semantic.git
synced 2024-12-22 14:21:31 +03:00
123 lines
3.4 KiB
JSON
123 lines
3.4 KiB
JSON
[{
|
|
"testCaseDescription": "javascript-identifier-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"identifier.js": [
|
|
"Added the 'theVar' identifier"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"identifier.js"
|
|
],
|
|
"sha1": "39b51506565cec084044b75807cb170c177a90f3",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "20e082857cf08405541fbd5360b898d0a590f921"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-identifier-replacement-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"identifier.js": [
|
|
"Added the 'theVar2' identifier",
|
|
"Added the 'theVar' identifier"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"identifier.js"
|
|
],
|
|
"sha1": "20e082857cf08405541fbd5360b898d0a590f921",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "7cad48fe80ae75bccb75e61c11c2c3c223ef038b"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-identifier-delete-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"identifier.js": [
|
|
"Replaced the 'theVar2' identifier with the 'theVar' identifier"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"identifier.js"
|
|
],
|
|
"sha1": "7cad48fe80ae75bccb75e61c11c2c3c223ef038b",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "c4e149c175d7ba4a5dc190335e7f68a7d4259d0e"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-identifier-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"identifier.js": [
|
|
"Replaced the 'theVar' identifier with the 'theVar2' identifier"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"identifier.js"
|
|
],
|
|
"sha1": "c4e149c175d7ba4a5dc190335e7f68a7d4259d0e",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "004dc187a9be19e85b5a01dde0a982503a78690f"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-identifier-delete-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"identifier.js": [
|
|
"Deleted the 'theVar2' identifier",
|
|
"Deleted the 'theVar' identifier",
|
|
"Added the 'theVar2' identifier"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"identifier.js"
|
|
],
|
|
"sha1": "004dc187a9be19e85b5a01dde0a982503a78690f",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "2884532e886459eefaddb7746e49b1cbb388287d"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-identifier-delete-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"identifier.js": [
|
|
"Deleted the 'theVar' identifier"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"identifier.js"
|
|
],
|
|
"sha1": "2884532e886459eefaddb7746e49b1cbb388287d",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "21fb24e812aa25e0ce7cdeacdfade43959ec60f6"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-identifier-delete-rest-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"identifier.js": [
|
|
"Deleted the 'theVar2' identifier"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"identifier.js"
|
|
],
|
|
"sha1": "21fb24e812aa25e0ce7cdeacdfade43959ec60f6",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "689e6c43d358002090f5f9cb0ad152540f72b3c5"
|
|
}]
|