mirror of
https://github.com/github/semantic.git
synced 2024-12-21 22:01:46 +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": "682c9bc7b6e0bdf863dcaa32f63278a65cbae946",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "73bf5733fae4a699c86b187a1bdb12c4877a4001"
|
|
}
|
|
,{
|
|
"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": "73bf5733fae4a699c86b187a1bdb12c4877a4001",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "36e07108362ec6423e60b1d917917c3e09234360"
|
|
}
|
|
,{
|
|
"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": "36e07108362ec6423e60b1d917917c3e09234360",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "84fcb25dc4d64a74bc654b68eb60c6de6bbe1d9e"
|
|
}
|
|
,{
|
|
"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": "84fcb25dc4d64a74bc654b68eb60c6de6bbe1d9e",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "e311f46d65600e45ad1c9d28741d7138a20cd84a"
|
|
}
|
|
,{
|
|
"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": "e311f46d65600e45ad1c9d28741d7138a20cd84a",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "02db7fdb98d56e46e5a10e10b3881339a881bf9a"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-anonymous-function-delete-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"anonymous-function.js": [
|
|
"Deleted an anonymous(a, b) function"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"anonymous-function.js"
|
|
],
|
|
"sha1": "02db7fdb98d56e46e5a10e10b3881339a881bf9a",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "83545a313b0dcb2e84df65aa0e2a1a0ca0ecc5b7"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-anonymous-function-delete-rest-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"anonymous-function.js": [
|
|
"Deleted an anonymous(b, c) function"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"anonymous-function.js"
|
|
],
|
|
"sha1": "83545a313b0dcb2e84df65aa0e2a1a0ca0ecc5b7",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "4fc6bdfea8bbd17d810f8687b2c6ffacc375b201"
|
|
}]
|