mirror of
https://github.com/github/semantic.git
synced 2024-12-23 23:11:50 +03:00
129 lines
3.9 KiB
JSON
129 lines
3.9 KiB
JSON
[{
|
|
"testCaseDescription": "javascript-anonymous-function-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"anonymous-function.js": [
|
|
"Added an anonymous(a, b) function"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"anonymous-function.js"
|
|
],
|
|
"sha1": "9da531dab73d3a68d171641dcc1913ad7225de16",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "cb573ed340766964b2770e7593f129d76afa624e"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-anonymous-function-replacement-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"anonymous-function.js": [
|
|
"Added an anonymous(b, c) function",
|
|
"Added an anonymous(a, b) function"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"anonymous-function.js"
|
|
],
|
|
"sha1": "cb573ed340766964b2770e7593f129d76afa624e",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "4986a49938baf1d287cb567f30c7b2ef9bdd04d0"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-anonymous-function-delete-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"anonymous-function.js": [
|
|
"Replaced the 'b' identifier with the 'a' identifier",
|
|
"Replaced the 'c' identifier with the 'b' identifier",
|
|
"Replaced the 'b' identifier with the 'a' identifier",
|
|
"Replaced the 'c' identifier with the 'b' identifier"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"anonymous-function.js"
|
|
],
|
|
"sha1": "4986a49938baf1d287cb567f30c7b2ef9bdd04d0",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "c74709199029bab1a3e7fd326a1b4332bc0b9381"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-anonymous-function-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"anonymous-function.js": [
|
|
"Replaced the 'a' identifier with the 'b' identifier",
|
|
"Replaced the 'b' identifier with the 'c' identifier",
|
|
"Replaced the 'a' identifier with the 'b' identifier",
|
|
"Replaced the 'b' identifier with the 'c' identifier"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"anonymous-function.js"
|
|
],
|
|
"sha1": "c74709199029bab1a3e7fd326a1b4332bc0b9381",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "745d8324b38294980b7a6b9e62914d330827cdb9"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-anonymous-function-delete-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"anonymous-function.js": [
|
|
"Deleted an anonymous(b, c) function",
|
|
"Deleted an anonymous(a, b) function",
|
|
"Added an anonymous(b, c) function"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"anonymous-function.js"
|
|
],
|
|
"sha1": "745d8324b38294980b7a6b9e62914d330827cdb9",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "0a97bdf3ba54de75a633542c3baeea9a29ebfc74"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-anonymous-function-delete-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"anonymous-function.js": [
|
|
"Deleted an anonymous(a, b) function"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"anonymous-function.js"
|
|
],
|
|
"sha1": "0a97bdf3ba54de75a633542c3baeea9a29ebfc74",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "9128b09fb9d9aff67b25d32cb924dcec5023e9a5"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-anonymous-function-delete-rest-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"anonymous-function.js": [
|
|
"Deleted an anonymous(b, c) function"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"anonymous-function.js"
|
|
],
|
|
"sha1": "9128b09fb9d9aff67b25d32cb924dcec5023e9a5",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "e5ac882c582e066b576adb9ad39da3ce6dc09be3"
|
|
}]
|