1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 06:41:45 +03:00
semantic/test/corpus/diff-summaries/javascript/array.json

123 lines
3.2 KiB
JSON

[{
"testCaseDescription": "javascript-array-insert-test",
"expectedResult": {
"changes": {
"array.js": [
"Added the '[ \"item1\" ]' array"
]
},
"errors": {}
},
"filePaths": [
"array.js"
],
"sha1": "dd7ca7adcacbe84df962afb2cacb889e9c36555e",
"gitDir": "test/corpus/repos/javascript",
"sha2": "0418b13c26f0d7b4066fed6e2c96b7e4d7089ac3"
}
,{
"testCaseDescription": "javascript-array-replacement-insert-test",
"expectedResult": {
"changes": {
"array.js": [
"Added the '[ \"item1\", \"item2\" ]' array",
"Added the '[ \"item1\" ]' array"
]
},
"errors": {}
},
"filePaths": [
"array.js"
],
"sha1": "0418b13c26f0d7b4066fed6e2c96b7e4d7089ac3",
"gitDir": "test/corpus/repos/javascript",
"sha2": "0b4952dc07e32e0849db5543eee8abdb5b4248a7"
}
,{
"testCaseDescription": "javascript-array-delete-insert-test",
"expectedResult": {
"changes": {
"array.js": [
"Deleted the \"item2\" string"
]
},
"errors": {}
},
"filePaths": [
"array.js"
],
"sha1": "0b4952dc07e32e0849db5543eee8abdb5b4248a7",
"gitDir": "test/corpus/repos/javascript",
"sha2": "7ef888c9a5c940124390e379435f37177f9b4f4c"
}
,{
"testCaseDescription": "javascript-array-replacement-test",
"expectedResult": {
"changes": {
"array.js": [
"Added the \"item2\" string"
]
},
"errors": {}
},
"filePaths": [
"array.js"
],
"sha1": "7ef888c9a5c940124390e379435f37177f9b4f4c",
"gitDir": "test/corpus/repos/javascript",
"sha2": "0efeca94b446b67eee94d0bf04e7f8c2c026b22f"
}
,{
"testCaseDescription": "javascript-array-delete-replacement-test",
"expectedResult": {
"changes": {
"array.js": [
"Deleted the '[ \"item1\", \"item2\" ]' array",
"Deleted the '[ \"item1\" ]' array",
"Added the '[ \"item1\", \"item2\" ]' array"
]
},
"errors": {}
},
"filePaths": [
"array.js"
],
"sha1": "0efeca94b446b67eee94d0bf04e7f8c2c026b22f",
"gitDir": "test/corpus/repos/javascript",
"sha2": "6d22167393268e61aa06e0b171519476dc16bdac"
}
,{
"testCaseDescription": "javascript-array-delete-test",
"expectedResult": {
"changes": {
"array.js": [
"Deleted the '[ \"item1\" ]' array"
]
},
"errors": {}
},
"filePaths": [
"array.js"
],
"sha1": "6d22167393268e61aa06e0b171519476dc16bdac",
"gitDir": "test/corpus/repos/javascript",
"sha2": "efff6458dae06c9af9ecb08c046fc0ff4f745337"
}
,{
"testCaseDescription": "javascript-array-delete-rest-test",
"expectedResult": {
"changes": {
"array.js": [
"Deleted the '[ \"item1\", \"item2\" ]' array"
]
},
"errors": {}
},
"filePaths": [
"array.js"
],
"sha1": "efff6458dae06c9af9ecb08c046fc0ff4f745337",
"gitDir": "test/corpus/repos/javascript",
"sha2": "95af18d8919ff9cfae6d2f0c604ed1a6ad724386"
}]