1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 13:51:44 +03:00
semantic/test/corpus/diff-summaries/javascript/for-loop-with-in-statement.json

125 lines
4.2 KiB
JSON

[{
"testCaseDescription": "javascript-for-loop-with-in-statement-insert-test",
"expectedResult": {
"changes": {
"for-loop-with-in-statement.js": [
"Added the 'key in something && i = 0; i < n; i++' for statement"
]
},
"errors": {}
},
"filePaths": [
"for-loop-with-in-statement.js"
],
"sha1": "d2af5ec3c3ad375060911e7ecab418524b362fb0",
"gitDir": "test/corpus/repos/javascript",
"sha2": "e60041368d83ff4b232dcfe04437d5fd462406ec"
}
,{
"testCaseDescription": "javascript-for-loop-with-in-statement-replacement-insert-test",
"expectedResult": {
"changes": {
"for-loop-with-in-statement.js": [
"Added the 'otherKey in something && i = 0; i < n; i++' for statement",
"Added the 'key in something && i = 0; i < n; i++' for statement"
]
},
"errors": {}
},
"filePaths": [
"for-loop-with-in-statement.js"
],
"sha1": "e60041368d83ff4b232dcfe04437d5fd462406ec",
"gitDir": "test/corpus/repos/javascript",
"sha2": "71b2b3e11200827268e624365f407da436799176"
}
,{
"testCaseDescription": "javascript-for-loop-with-in-statement-delete-insert-test",
"expectedResult": {
"changes": {
"for-loop-with-in-statement.js": [
"Replaced the 'otherKey' identifier with the 'key' identifier",
"Replaced the 'doOtherSomething' identifier with the 'doSomething' identifier in the doSomething() function call"
]
},
"errors": {}
},
"filePaths": [
"for-loop-with-in-statement.js"
],
"sha1": "71b2b3e11200827268e624365f407da436799176",
"gitDir": "test/corpus/repos/javascript",
"sha2": "c6337bf9bb226248f0c6c0b11c4f27e9e8d98b2c"
}
,{
"testCaseDescription": "javascript-for-loop-with-in-statement-replacement-test",
"expectedResult": {
"changes": {
"for-loop-with-in-statement.js": [
"Replaced the 'key' identifier with the 'otherKey' identifier",
"Replaced the 'doSomething' identifier with the 'doOtherSomething' identifier in the doOtherSomething() function call"
]
},
"errors": {}
},
"filePaths": [
"for-loop-with-in-statement.js"
],
"sha1": "c6337bf9bb226248f0c6c0b11c4f27e9e8d98b2c",
"gitDir": "test/corpus/repos/javascript",
"sha2": "6566987bc1a3bf7fa756fcebecc54fb98345f792"
}
,{
"testCaseDescription": "javascript-for-loop-with-in-statement-delete-replacement-test",
"expectedResult": {
"changes": {
"for-loop-with-in-statement.js": [
"Deleted the 'otherKey in something && i = 0; i < n; i++' for statement",
"Deleted the 'key in something && i = 0; i < n; i++' for statement",
"Added the 'otherKey in something && i = 0; i < n; i++' for statement"
]
},
"errors": {}
},
"filePaths": [
"for-loop-with-in-statement.js"
],
"sha1": "6566987bc1a3bf7fa756fcebecc54fb98345f792",
"gitDir": "test/corpus/repos/javascript",
"sha2": "d0d601c03abd9382571c881d66d4471078b447f5"
}
,{
"testCaseDescription": "javascript-for-loop-with-in-statement-delete-test",
"expectedResult": {
"changes": {
"for-loop-with-in-statement.js": [
"Deleted the 'key in something && i = 0; i < n; i++' for statement"
]
},
"errors": {}
},
"filePaths": [
"for-loop-with-in-statement.js"
],
"sha1": "d0d601c03abd9382571c881d66d4471078b447f5",
"gitDir": "test/corpus/repos/javascript",
"sha2": "202bf0cbb2cd0a8fad734d182a89ce1932cffb37"
}
,{
"testCaseDescription": "javascript-for-loop-with-in-statement-delete-rest-test",
"expectedResult": {
"changes": {
"for-loop-with-in-statement.js": [
"Deleted the 'otherKey in something && i = 0; i < n; i++' for statement"
]
},
"errors": {}
},
"filePaths": [
"for-loop-with-in-statement.js"
],
"sha1": "202bf0cbb2cd0a8fad734d182a89ce1932cffb37",
"gitDir": "test/corpus/repos/javascript",
"sha2": "763e4c5cbb94150cd983bc1a0c9ecc2ff79a5bdf"
}]