1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 14:54:16 +03:00
semantic/test/corpus/diff-summaries/javascript/undefined.json
2016-10-14 12:19:31 -04:00

293 lines
8.6 KiB
JSON

[{
"testCaseDescription": "javascript-undefined-insert-test",
"expectedResult": {
"changes": {
"undefined.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
10
]
}
},
"summary": "Added the 'undefined' identifier"
}
]
},
"errors": {}
},
"filePaths": [
"undefined.js"
],
"sha1": "3362913e5fcdcfd09abecb1010377f38e7267fa3",
"gitDir": "test/corpus/repos/javascript",
"sha2": "9ccd73b0fe50935a3869659a230417521ac75497"
}
,{
"testCaseDescription": "javascript-undefined-replacement-insert-test",
"expectedResult": {
"changes": {
"undefined.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
18
]
}
},
"summary": "Added the 'undefined' return statement"
},
{
"span": {
"insert": {
"start": [
2,
1
],
"end": [
2,
10
]
}
},
"summary": "Added the 'undefined' identifier"
}
]
},
"errors": {}
},
"filePaths": [
"undefined.js"
],
"sha1": "9ccd73b0fe50935a3869659a230417521ac75497",
"gitDir": "test/corpus/repos/javascript",
"sha2": "81692cd94ba7bf4146d43680ed738ec8f252e579"
}
,{
"testCaseDescription": "javascript-undefined-delete-insert-test",
"expectedResult": {
"changes": {
"undefined.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
10
]
}
},
"summary": "Added the 'undefined' identifier"
},
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
18
]
}
},
"summary": "Deleted the 'undefined' return statement"
}
]
},
"errors": {}
},
"filePaths": [
"undefined.js"
],
"sha1": "81692cd94ba7bf4146d43680ed738ec8f252e579",
"gitDir": "test/corpus/repos/javascript",
"sha2": "0d9935505afd13b6385ff18be6e41bd4a613120b"
}
,{
"testCaseDescription": "javascript-undefined-replacement-test",
"expectedResult": {
"changes": {
"undefined.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
18
]
}
},
"summary": "Added the 'undefined' return statement"
},
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
10
]
}
},
"summary": "Deleted the 'undefined' identifier"
}
]
},
"errors": {}
},
"filePaths": [
"undefined.js"
],
"sha1": "0d9935505afd13b6385ff18be6e41bd4a613120b",
"gitDir": "test/corpus/repos/javascript",
"sha2": "8f94569a74df3ff9fbf00ac9d35d69ec0c81feb3"
}
,{
"testCaseDescription": "javascript-undefined-delete-replacement-test",
"expectedResult": {
"changes": {
"undefined.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
18
]
}
},
"summary": "Deleted the 'undefined' return statement"
},
{
"span": {
"delete": {
"start": [
2,
1
],
"end": [
2,
10
]
}
},
"summary": "Deleted the 'undefined' identifier"
},
{
"span": {
"insert": {
"start": [
2,
1
],
"end": [
2,
18
]
}
},
"summary": "Added the 'undefined' return statement"
}
]
},
"errors": {}
},
"filePaths": [
"undefined.js"
],
"sha1": "8f94569a74df3ff9fbf00ac9d35d69ec0c81feb3",
"gitDir": "test/corpus/repos/javascript",
"sha2": "88e1c98a8a6bf0337b6354a9a49d5656ecc8794b"
}
,{
"testCaseDescription": "javascript-undefined-delete-test",
"expectedResult": {
"changes": {
"undefined.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
10
]
}
},
"summary": "Deleted the 'undefined' identifier"
}
]
},
"errors": {}
},
"filePaths": [
"undefined.js"
],
"sha1": "88e1c98a8a6bf0337b6354a9a49d5656ecc8794b",
"gitDir": "test/corpus/repos/javascript",
"sha2": "cd3dd156915f8e6bc18c93d313a7c8d51470bd4b"
}
,{
"testCaseDescription": "javascript-undefined-delete-rest-test",
"expectedResult": {
"changes": {
"undefined.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
18
]
}
},
"summary": "Deleted the 'undefined' return statement"
}
]
},
"errors": {}
},
"filePaths": [
"undefined.js"
],
"sha1": "cd3dd156915f8e6bc18c93d313a7c8d51470bd4b",
"gitDir": "test/corpus/repos/javascript",
"sha2": "5701dcd1fd9e1f43dca6d6ab303b678e3288b9e8"
}]