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/true.json
2016-10-11 11:54:47 -04:00

317 lines
9.4 KiB
JSON

[{
"testCaseDescription": "javascript-true-insert-test",
"expectedResult": {
"changes": {
"true.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"name": "true.js",
"end": [
1,
5
]
}
},
"summary": "Added 'true'",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"true.js"
],
"sha1": "d75865051390be293044f1901b2de814f883345c",
"gitDir": "test/corpus/repos/javascript",
"sha2": "6bfb7dcd9cdede9f50d88268469edcc41bf7a011"
}
,{
"testCaseDescription": "javascript-true-replacement-insert-test",
"expectedResult": {
"changes": {
"true.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"name": "true.js",
"end": [
1,
13
]
}
},
"summary": "Added the 'true' return statement",
"tag": "JSONSummary"
},
{
"span": {
"insert": {
"start": [
2,
1
],
"name": "true.js",
"end": [
2,
5
]
}
},
"summary": "Added 'true'",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"true.js"
],
"sha1": "6bfb7dcd9cdede9f50d88268469edcc41bf7a011",
"gitDir": "test/corpus/repos/javascript",
"sha2": "2fb11e227c29c8708462b86607f5898a1526411d"
}
,{
"testCaseDescription": "javascript-true-delete-insert-test",
"expectedResult": {
"changes": {
"true.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"name": "true.js",
"end": [
1,
5
]
}
},
"summary": "Added 'true'",
"tag": "JSONSummary"
},
{
"span": {
"delete": {
"start": [
1,
1
],
"name": "true.js",
"end": [
1,
13
]
}
},
"summary": "Deleted the 'true' return statement",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"true.js"
],
"sha1": "2fb11e227c29c8708462b86607f5898a1526411d",
"gitDir": "test/corpus/repos/javascript",
"sha2": "44fd30110d94eb034134620ce0043421555609ba"
}
,{
"testCaseDescription": "javascript-true-replacement-test",
"expectedResult": {
"changes": {
"true.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"name": "true.js",
"end": [
1,
13
]
}
},
"summary": "Added the 'true' return statement",
"tag": "JSONSummary"
},
{
"span": {
"delete": {
"start": [
1,
1
],
"name": "true.js",
"end": [
1,
5
]
}
},
"summary": "Deleted 'true'",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"true.js"
],
"sha1": "44fd30110d94eb034134620ce0043421555609ba",
"gitDir": "test/corpus/repos/javascript",
"sha2": "865858a52fcb1b2b3425b9edbcfd46170997267f"
}
,{
"testCaseDescription": "javascript-true-delete-replacement-test",
"expectedResult": {
"changes": {
"true.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"name": "true.js",
"end": [
1,
13
]
}
},
"summary": "Deleted the 'true' return statement",
"tag": "JSONSummary"
},
{
"span": {
"delete": {
"start": [
2,
1
],
"name": "true.js",
"end": [
2,
5
]
}
},
"summary": "Deleted 'true'",
"tag": "JSONSummary"
},
{
"span": {
"insert": {
"start": [
2,
1
],
"name": "true.js",
"end": [
2,
13
]
}
},
"summary": "Added the 'true' return statement",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"true.js"
],
"sha1": "865858a52fcb1b2b3425b9edbcfd46170997267f",
"gitDir": "test/corpus/repos/javascript",
"sha2": "61cd6e15c4e041ff8aa683707a4540122de8560c"
}
,{
"testCaseDescription": "javascript-true-delete-test",
"expectedResult": {
"changes": {
"true.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"name": "true.js",
"end": [
1,
5
]
}
},
"summary": "Deleted 'true'",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"true.js"
],
"sha1": "61cd6e15c4e041ff8aa683707a4540122de8560c",
"gitDir": "test/corpus/repos/javascript",
"sha2": "eddb50d6d415cae98a46191354bc339a1a9634f3"
}
,{
"testCaseDescription": "javascript-true-delete-rest-test",
"expectedResult": {
"changes": {
"true.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"name": "true.js",
"end": [
1,
13
]
}
},
"summary": "Deleted the 'true' return statement",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"true.js"
],
"sha1": "eddb50d6d415cae98a46191354bc339a1a9634f3",
"gitDir": "test/corpus/repos/javascript",
"sha2": "0cad1bc8f133de3ec0a2bff083b413422673bbb7"
}]