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/this-expression.json
2016-11-01 10:03:25 -05:00

293 lines
8.7 KiB
JSON

[{
"testCaseDescription": "javascript-this-expression-insert-test",
"expectedResult": {
"changes": {
"this-expression.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
5
]
}
},
"summary": "Added the 'this' identifier"
}
]
},
"errors": {}
},
"filePaths": [
"this-expression.js"
],
"sha1": "b3470025ee263454110f25252e09c359560d1bd5",
"gitDir": "test/corpus/repos/javascript",
"sha2": "3fee11eb6f5c99cb939a8b729a42061b3fe589c6"
}
,{
"testCaseDescription": "javascript-this-expression-replacement-insert-test",
"expectedResult": {
"changes": {
"this-expression.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
13
]
}
},
"summary": "Added the 'this' return statement"
},
{
"span": {
"insert": {
"start": [
2,
1
],
"end": [
2,
5
]
}
},
"summary": "Added the 'this' identifier"
}
]
},
"errors": {}
},
"filePaths": [
"this-expression.js"
],
"sha1": "3fee11eb6f5c99cb939a8b729a42061b3fe589c6",
"gitDir": "test/corpus/repos/javascript",
"sha2": "ea6e2908e34461c585e71957c320f4eeb8595a04"
}
,{
"testCaseDescription": "javascript-this-expression-delete-insert-test",
"expectedResult": {
"changes": {
"this-expression.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
5
]
}
},
"summary": "Added the 'this' identifier"
},
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
13
]
}
},
"summary": "Deleted the 'this' return statement"
}
]
},
"errors": {}
},
"filePaths": [
"this-expression.js"
],
"sha1": "ea6e2908e34461c585e71957c320f4eeb8595a04",
"gitDir": "test/corpus/repos/javascript",
"sha2": "7bd744a61db05a1b11c1044313dbdb123d290bf6"
}
,{
"testCaseDescription": "javascript-this-expression-replacement-test",
"expectedResult": {
"changes": {
"this-expression.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
13
]
}
},
"summary": "Added the 'this' return statement"
},
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
5
]
}
},
"summary": "Deleted the 'this' identifier"
}
]
},
"errors": {}
},
"filePaths": [
"this-expression.js"
],
"sha1": "7bd744a61db05a1b11c1044313dbdb123d290bf6",
"gitDir": "test/corpus/repos/javascript",
"sha2": "e4f1825876d89ecaeb1e2b78e95ae197e26d5d3c"
}
,{
"testCaseDescription": "javascript-this-expression-delete-replacement-test",
"expectedResult": {
"changes": {
"this-expression.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
13
]
}
},
"summary": "Deleted the 'this' return statement"
},
{
"span": {
"delete": {
"start": [
2,
1
],
"end": [
2,
5
]
}
},
"summary": "Deleted the 'this' identifier"
},
{
"span": {
"insert": {
"start": [
2,
1
],
"end": [
2,
13
]
}
},
"summary": "Added the 'this' return statement"
}
]
},
"errors": {}
},
"filePaths": [
"this-expression.js"
],
"sha1": "e4f1825876d89ecaeb1e2b78e95ae197e26d5d3c",
"gitDir": "test/corpus/repos/javascript",
"sha2": "31d93d5253b1465ad809f0f4feb42336025cea63"
}
,{
"testCaseDescription": "javascript-this-expression-delete-test",
"expectedResult": {
"changes": {
"this-expression.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
5
]
}
},
"summary": "Deleted the 'this' identifier"
}
]
},
"errors": {}
},
"filePaths": [
"this-expression.js"
],
"sha1": "31d93d5253b1465ad809f0f4feb42336025cea63",
"gitDir": "test/corpus/repos/javascript",
"sha2": "72f5d7c8a95f79aaef409926e8f7e00d7c5bf74d"
}
,{
"testCaseDescription": "javascript-this-expression-delete-rest-test",
"expectedResult": {
"changes": {
"this-expression.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
13
]
}
},
"summary": "Deleted the 'this' return statement"
}
]
},
"errors": {}
},
"filePaths": [
"this-expression.js"
],
"sha1": "72f5d7c8a95f79aaef409926e8f7e00d7c5bf74d",
"gitDir": "test/corpus/repos/javascript",
"sha2": "6d600208cc985a6c0fbbbdbd54227f1010a9bb14"
}]