1
1
mirror of https://github.com/github/semantic.git synced 2024-12-25 07:55:12 +03:00
semantic/test/corpus/diff-summaries/javascript/subscript-access-assignment.json
Rick Winfrey 329ce63a8e ++tests
2016-10-11 11:07:57 -05:00

123 lines
3.7 KiB
JSON

[{
"testCaseDescription": "javascript-subscript-access-assignment-insert-test",
"expectedResult": {
"changes": {
"subscript-access-assignment.js": [
"Added the 'y[\"x\"]' assignment"
]
},
"errors": {}
},
"filePaths": [
"subscript-access-assignment.js"
],
"sha1": "63243f11ee238a04b1c51987a7cbc7d48f5f405b",
"gitDir": "test/corpus/repos/javascript",
"sha2": "01f7085186d9284f24e450dc803c0b2b71a0cea7"
}
,{
"testCaseDescription": "javascript-subscript-access-assignment-replacement-insert-test",
"expectedResult": {
"changes": {
"subscript-access-assignment.js": [
"Added the 'y[\"x\"]' assignment",
"Added the 'y[\"x\"]' assignment"
]
},
"errors": {}
},
"filePaths": [
"subscript-access-assignment.js"
],
"sha1": "01f7085186d9284f24e450dc803c0b2b71a0cea7",
"gitDir": "test/corpus/repos/javascript",
"sha2": "a98acc349854019c25f83d60321a63d39032bcb5"
}
,{
"testCaseDescription": "javascript-subscript-access-assignment-delete-insert-test",
"expectedResult": {
"changes": {
"subscript-access-assignment.js": [
"Replaced '1' with '0' in an assignment to y[\"x\"]"
]
},
"errors": {}
},
"filePaths": [
"subscript-access-assignment.js"
],
"sha1": "a98acc349854019c25f83d60321a63d39032bcb5",
"gitDir": "test/corpus/repos/javascript",
"sha2": "13e950e265f72b4ca2f163d49f076dbbc64c22d5"
}
,{
"testCaseDescription": "javascript-subscript-access-assignment-replacement-test",
"expectedResult": {
"changes": {
"subscript-access-assignment.js": [
"Replaced '0' with '1' in an assignment to y[\"x\"]"
]
},
"errors": {}
},
"filePaths": [
"subscript-access-assignment.js"
],
"sha1": "13e950e265f72b4ca2f163d49f076dbbc64c22d5",
"gitDir": "test/corpus/repos/javascript",
"sha2": "99241c059d2da18548b7f996c1cbb71b5ea23605"
}
,{
"testCaseDescription": "javascript-subscript-access-assignment-delete-replacement-test",
"expectedResult": {
"changes": {
"subscript-access-assignment.js": [
"Deleted the 'y[\"x\"]' assignment",
"Deleted the 'y[\"x\"]' assignment",
"Added the 'y[\"x\"]' assignment"
]
},
"errors": {}
},
"filePaths": [
"subscript-access-assignment.js"
],
"sha1": "99241c059d2da18548b7f996c1cbb71b5ea23605",
"gitDir": "test/corpus/repos/javascript",
"sha2": "9713f00bd14ffc58131e5b92769adf3a689474a1"
}
,{
"testCaseDescription": "javascript-subscript-access-assignment-delete-test",
"expectedResult": {
"changes": {
"subscript-access-assignment.js": [
"Deleted the 'y[\"x\"]' assignment"
]
},
"errors": {}
},
"filePaths": [
"subscript-access-assignment.js"
],
"sha1": "9713f00bd14ffc58131e5b92769adf3a689474a1",
"gitDir": "test/corpus/repos/javascript",
"sha2": "e2550c3c57d22a532427f1fc72c679a6aaf4338a"
}
,{
"testCaseDescription": "javascript-subscript-access-assignment-delete-rest-test",
"expectedResult": {
"changes": {
"subscript-access-assignment.js": [
"Deleted the 'y[\"x\"]' assignment"
]
},
"errors": {}
},
"filePaths": [
"subscript-access-assignment.js"
],
"sha1": "e2550c3c57d22a532427f1fc72c679a6aaf4338a",
"gitDir": "test/corpus/repos/javascript",
"sha2": "203f8d67079e4651a60594004213482fbcf7da59"
}]