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

293 lines
8.4 KiB
JSON

[{
"testCaseDescription": "javascript-true-insert-test",
"expectedResult": {
"changes": {
"true.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
5
]
}
},
"summary": "Added 'true'"
}
]
},
"errors": {}
},
"filePaths": [
"true.js"
],
"sha1": "fdb6ac6ed17918be81b925990a334ea5eb297631",
"gitDir": "test/corpus/repos/javascript",
"sha2": "26132ac7842e476cbf3f7d91186821b9e64ff41c"
}
,{
"testCaseDescription": "javascript-true-replacement-insert-test",
"expectedResult": {
"changes": {
"true.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
13
]
}
},
"summary": "Added the 'true' return statement"
},
{
"span": {
"insert": {
"start": [
2,
1
],
"end": [
2,
5
]
}
},
"summary": "Added 'true'"
}
]
},
"errors": {}
},
"filePaths": [
"true.js"
],
"sha1": "26132ac7842e476cbf3f7d91186821b9e64ff41c",
"gitDir": "test/corpus/repos/javascript",
"sha2": "efc55f038f5345073040460af6fc161abde27c25"
}
,{
"testCaseDescription": "javascript-true-delete-insert-test",
"expectedResult": {
"changes": {
"true.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
5
]
}
},
"summary": "Added 'true'"
},
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
13
]
}
},
"summary": "Deleted the 'true' return statement"
}
]
},
"errors": {}
},
"filePaths": [
"true.js"
],
"sha1": "efc55f038f5345073040460af6fc161abde27c25",
"gitDir": "test/corpus/repos/javascript",
"sha2": "efc8e62c1ca11349350946b0fbc49e7e363638c4"
}
,{
"testCaseDescription": "javascript-true-replacement-test",
"expectedResult": {
"changes": {
"true.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
13
]
}
},
"summary": "Added the 'true' return statement"
},
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
5
]
}
},
"summary": "Deleted 'true'"
}
]
},
"errors": {}
},
"filePaths": [
"true.js"
],
"sha1": "efc8e62c1ca11349350946b0fbc49e7e363638c4",
"gitDir": "test/corpus/repos/javascript",
"sha2": "b728d61411648859122dad09a108b16bb91a12dd"
}
,{
"testCaseDescription": "javascript-true-delete-replacement-test",
"expectedResult": {
"changes": {
"true.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
13
]
}
},
"summary": "Deleted the 'true' return statement"
},
{
"span": {
"delete": {
"start": [
2,
1
],
"end": [
2,
5
]
}
},
"summary": "Deleted 'true'"
},
{
"span": {
"insert": {
"start": [
2,
1
],
"end": [
2,
13
]
}
},
"summary": "Added the 'true' return statement"
}
]
},
"errors": {}
},
"filePaths": [
"true.js"
],
"sha1": "b728d61411648859122dad09a108b16bb91a12dd",
"gitDir": "test/corpus/repos/javascript",
"sha2": "b569210e60db45cf9457d0742fc56eef85e9eee8"
}
,{
"testCaseDescription": "javascript-true-delete-test",
"expectedResult": {
"changes": {
"true.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
5
]
}
},
"summary": "Deleted 'true'"
}
]
},
"errors": {}
},
"filePaths": [
"true.js"
],
"sha1": "b569210e60db45cf9457d0742fc56eef85e9eee8",
"gitDir": "test/corpus/repos/javascript",
"sha2": "df280a9b904fda8f3725766d6b74b6ee7bcc8620"
}
,{
"testCaseDescription": "javascript-true-delete-rest-test",
"expectedResult": {
"changes": {
"true.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
13
]
}
},
"summary": "Deleted the 'true' return statement"
}
]
},
"errors": {}
},
"filePaths": [
"true.js"
],
"sha1": "df280a9b904fda8f3725766d6b74b6ee7bcc8620",
"gitDir": "test/corpus/repos/javascript",
"sha2": "7ede279716998188bc90996f9b66c5c534b0c8e4"
}]