1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 22:01:46 +03:00
semantic/test/corpus/diff-summaries/javascript/object.json

125 lines
3.5 KiB
JSON

[{
"testCaseDescription": "javascript-object-insert-test",
"expectedResult": {
"changes": {
"object.js": [
"Added the '{ \"key1\": … }' object"
]
},
"errors": {}
},
"filePaths": [
"object.js"
],
"sha1": "24eca334c726f2dafd54dc80fe297b19d5b49e0c",
"gitDir": "test/corpus/repos/javascript",
"sha2": "eab2a7228b4674113a9b4808bf907d080fdc81fc"
}
,{
"testCaseDescription": "javascript-object-replacement-insert-test",
"expectedResult": {
"changes": {
"object.js": [
"Added the '{ \"key1\": …, \"key2\": …, \"key3\": … }' object",
"Added the '{ \"key1\": … }' object"
]
},
"errors": {}
},
"filePaths": [
"object.js"
],
"sha1": "eab2a7228b4674113a9b4808bf907d080fdc81fc",
"gitDir": "test/corpus/repos/javascript",
"sha2": "3f7f83fbfa36e6774a39b10cfedb6b7438682046"
}
,{
"testCaseDescription": "javascript-object-delete-insert-test",
"expectedResult": {
"changes": {
"object.js": [
"Deleted the '\"key2\": …' pair",
"Deleted the '\"key3\": …' pair"
]
},
"errors": {}
},
"filePaths": [
"object.js"
],
"sha1": "3f7f83fbfa36e6774a39b10cfedb6b7438682046",
"gitDir": "test/corpus/repos/javascript",
"sha2": "b337130542f30ebd9d02c12334d2bbd08e548673"
}
,{
"testCaseDescription": "javascript-object-replacement-test",
"expectedResult": {
"changes": {
"object.js": [
"Added the '\"key2\": …' pair",
"Added the '\"key3\": …' pair"
]
},
"errors": {}
},
"filePaths": [
"object.js"
],
"sha1": "b337130542f30ebd9d02c12334d2bbd08e548673",
"gitDir": "test/corpus/repos/javascript",
"sha2": "eab6f47fe18108e84400a59b1f488df8f808dccd"
}
,{
"testCaseDescription": "javascript-object-delete-replacement-test",
"expectedResult": {
"changes": {
"object.js": [
"Deleted the '{ \"key1\": …, \"key2\": …, \"key3\": … }' object",
"Deleted the '{ \"key1\": … }' object",
"Added the '{ \"key1\": …, \"key2\": …, \"key3\": … }' object"
]
},
"errors": {}
},
"filePaths": [
"object.js"
],
"sha1": "eab6f47fe18108e84400a59b1f488df8f808dccd",
"gitDir": "test/corpus/repos/javascript",
"sha2": "ce8a29dbc4f2e539e742e100c17baab8b69934db"
}
,{
"testCaseDescription": "javascript-object-delete-test",
"expectedResult": {
"changes": {
"object.js": [
"Deleted the '{ \"key1\": … }' object"
]
},
"errors": {}
},
"filePaths": [
"object.js"
],
"sha1": "ce8a29dbc4f2e539e742e100c17baab8b69934db",
"gitDir": "test/corpus/repos/javascript",
"sha2": "32f565cb6c807539d665f1dcce7f89d569a4f9ea"
}
,{
"testCaseDescription": "javascript-object-delete-rest-test",
"expectedResult": {
"changes": {
"object.js": [
"Deleted the '{ \"key1\": …, \"key2\": …, \"key3\": … }' object"
]
},
"errors": {}
},
"filePaths": [
"object.js"
],
"sha1": "32f565cb6c807539d665f1dcce7f89d569a4f9ea",
"gitDir": "test/corpus/repos/javascript",
"sha2": "682c9bc7b6e0bdf863dcaa32f63278a65cbae946"
}]