1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 05:41:54 +03:00
semantic/test/corpus/diff-summaries/javascript/false.json
2016-10-11 16:18:26 -04:00

293 lines
8.4 KiB
JSON

[{
"testCaseDescription": "javascript-false-insert-test",
"expectedResult": {
"changes": {
"false.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
6
]
}
},
"summary": "Added 'false'"
}
]
},
"errors": {}
},
"filePaths": [
"false.js"
],
"sha1": "6f781fd1c75a5c824323b66e61fb2717755b4753",
"gitDir": "test/corpus/repos/javascript",
"sha2": "4973cc5fa83113e784f59efc0e9e2bee97ac8a4d"
}
,{
"testCaseDescription": "javascript-false-replacement-insert-test",
"expectedResult": {
"changes": {
"false.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
14
]
}
},
"summary": "Added the 'false' return statement"
},
{
"span": {
"insert": {
"start": [
2,
1
],
"end": [
2,
6
]
}
},
"summary": "Added 'false'"
}
]
},
"errors": {}
},
"filePaths": [
"false.js"
],
"sha1": "4973cc5fa83113e784f59efc0e9e2bee97ac8a4d",
"gitDir": "test/corpus/repos/javascript",
"sha2": "6bd0e7e033d1921b69c9740f08c5575c7e5e6ee1"
}
,{
"testCaseDescription": "javascript-false-delete-insert-test",
"expectedResult": {
"changes": {
"false.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
6
]
}
},
"summary": "Added 'false'"
},
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
14
]
}
},
"summary": "Deleted the 'false' return statement"
}
]
},
"errors": {}
},
"filePaths": [
"false.js"
],
"sha1": "6bd0e7e033d1921b69c9740f08c5575c7e5e6ee1",
"gitDir": "test/corpus/repos/javascript",
"sha2": "b2db9c4bb0b3a8d6b68d683e8513b2f6efedb44b"
}
,{
"testCaseDescription": "javascript-false-replacement-test",
"expectedResult": {
"changes": {
"false.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
14
]
}
},
"summary": "Added the 'false' return statement"
},
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
6
]
}
},
"summary": "Deleted 'false'"
}
]
},
"errors": {}
},
"filePaths": [
"false.js"
],
"sha1": "b2db9c4bb0b3a8d6b68d683e8513b2f6efedb44b",
"gitDir": "test/corpus/repos/javascript",
"sha2": "dd9ec604931ffffba1b6c7bd4773ec8ac5418804"
}
,{
"testCaseDescription": "javascript-false-delete-replacement-test",
"expectedResult": {
"changes": {
"false.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
14
]
}
},
"summary": "Deleted the 'false' return statement"
},
{
"span": {
"delete": {
"start": [
2,
1
],
"end": [
2,
6
]
}
},
"summary": "Deleted 'false'"
},
{
"span": {
"insert": {
"start": [
2,
1
],
"end": [
2,
14
]
}
},
"summary": "Added the 'false' return statement"
}
]
},
"errors": {}
},
"filePaths": [
"false.js"
],
"sha1": "dd9ec604931ffffba1b6c7bd4773ec8ac5418804",
"gitDir": "test/corpus/repos/javascript",
"sha2": "4b8dddf41a7b9ac76de8ff5eb1327fb0bd1f8dcb"
}
,{
"testCaseDescription": "javascript-false-delete-test",
"expectedResult": {
"changes": {
"false.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
6
]
}
},
"summary": "Deleted 'false'"
}
]
},
"errors": {}
},
"filePaths": [
"false.js"
],
"sha1": "4b8dddf41a7b9ac76de8ff5eb1327fb0bd1f8dcb",
"gitDir": "test/corpus/repos/javascript",
"sha2": "2f2527a35cc4511ba3e91e4360f61e56f20d9c3e"
}
,{
"testCaseDescription": "javascript-false-delete-rest-test",
"expectedResult": {
"changes": {
"false.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
14
]
}
},
"summary": "Deleted the 'false' return statement"
}
]
},
"errors": {}
},
"filePaths": [
"false.js"
],
"sha1": "2f2527a35cc4511ba3e91e4360f61e56f20d9c3e",
"gitDir": "test/corpus/repos/javascript",
"sha2": "7f7c1c904ffcc4ea539925a1d336147d84fd90b8"
}]