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": "b3b641ed7deb3f41fd97836c9026ce33eeba4a48",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "860e6cb5f10c84e6aac3953151b5ebec56ab3312"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-identifier-replacement-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"identifier.js": [
|
|
"Added the 'theVar2' identifier",
|
|
"Added the 'theVar' identifier"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"identifier.js"
|
|
],
|
|
"sha1": "860e6cb5f10c84e6aac3953151b5ebec56ab3312",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "392eb6b25b6edd2cc3cad0293066ad0f330cc72f"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-identifier-delete-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"identifier.js": [
|
|
"Replaced the 'theVar2' identifier with the 'theVar' identifier"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"identifier.js"
|
|
],
|
|
"sha1": "392eb6b25b6edd2cc3cad0293066ad0f330cc72f",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "2179a48c2b6e7200e0a34f33e20e3d1efe2ae34a"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-identifier-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"identifier.js": [
|
|
"Replaced the 'theVar' identifier with the 'theVar2' identifier"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"identifier.js"
|
|
],
|
|
"sha1": "2179a48c2b6e7200e0a34f33e20e3d1efe2ae34a",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "43486e90c660f961f930e3e22143865875bcd5ff"
|
|
}
|
|
,{
|
|
"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": "43486e90c660f961f930e3e22143865875bcd5ff",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "dad7ef451c5c151221fdd249d81634c437ebd8d7"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-identifier-delete-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"identifier.js": [
|
|
"Deleted the 'theVar' identifier"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"identifier.js"
|
|
],
|
|
"sha1": "dad7ef451c5c151221fdd249d81634c437ebd8d7",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "2c5321229447560cf390e01286dc9b30cfdefe51"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-identifier-delete-rest-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"identifier.js": [
|
|
"Deleted the 'theVar2' identifier"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"identifier.js"
|
|
],
|
|
"sha1": "2c5321229447560cf390e01286dc9b30cfdefe51",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "d04271adf62b579bffb014a03e4e401ce79164ea"
|
|
}]
|