1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 15:35:14 +03:00
semantic/test/corpus/diff-summaries/javascript/true.json
2016-11-01 10:03:25 -05: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": "fc80ccb71b0c0f159f05f8232853473f7f64457e",
"gitDir": "test/corpus/repos/javascript",
"sha2": "1bc0309425daa924ae3ea043487c39b6848c5101"
}
,{
"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": "1bc0309425daa924ae3ea043487c39b6848c5101",
"gitDir": "test/corpus/repos/javascript",
"sha2": "4ff3fb89e3bdee3acfa7caea5d67cca2f92a7f25"
}
,{
"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": "4ff3fb89e3bdee3acfa7caea5d67cca2f92a7f25",
"gitDir": "test/corpus/repos/javascript",
"sha2": "c750216e8276e0e09c33035db1b4f84c6b532ea3"
}
,{
"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": "c750216e8276e0e09c33035db1b4f84c6b532ea3",
"gitDir": "test/corpus/repos/javascript",
"sha2": "a3f9ee0d3aaa5a315031e3f9b6711995f1737c6b"
}
,{
"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": "a3f9ee0d3aaa5a315031e3f9b6711995f1737c6b",
"gitDir": "test/corpus/repos/javascript",
"sha2": "8e9e8b1a5a4beb5e33e607dc86b5f45aa694ddf0"
}
,{
"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": "8e9e8b1a5a4beb5e33e607dc86b5f45aa694ddf0",
"gitDir": "test/corpus/repos/javascript",
"sha2": "ad3373eca4102be0a57a93239b8feec6863dfcbb"
}
,{
"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": "ad3373eca4102be0a57a93239b8feec6863dfcbb",
"gitDir": "test/corpus/repos/javascript",
"sha2": "04aded71e587d0bada2c50fd567023d9de7f477c"
}]