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

293 lines
8.4 KiB
JSON
Raw Normal View History

2016-10-11 18:12:20 +03:00
[{
"testCaseDescription": "javascript-false-insert-test",
"expectedResult": {
"changes": {
"false.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
6
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Added 'false'"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"false.js"
],
2016-10-11 23:17:34 +03:00
"sha1": "6f781fd1c75a5c824323b66e61fb2717755b4753",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 23:17:34 +03:00
"sha2": "4973cc5fa83113e784f59efc0e9e2bee97ac8a4d"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-false-replacement-insert-test",
"expectedResult": {
"changes": {
"false.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
14
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Added the 'false' return statement"
2016-10-11 18:12:20 +03:00
},
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
2,
1
],
"end": [
2,
6
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Added 'false'"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"false.js"
],
2016-10-11 23:17:34 +03:00
"sha1": "4973cc5fa83113e784f59efc0e9e2bee97ac8a4d",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 23:17:34 +03:00
"sha2": "6bd0e7e033d1921b69c9740f08c5575c7e5e6ee1"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-false-delete-insert-test",
"expectedResult": {
"changes": {
"false.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
6
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Added 'false'"
2016-10-11 18:12:20 +03:00
},
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
14
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Deleted the 'false' return statement"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"false.js"
],
2016-10-11 23:17:34 +03:00
"sha1": "6bd0e7e033d1921b69c9740f08c5575c7e5e6ee1",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 23:17:34 +03:00
"sha2": "b2db9c4bb0b3a8d6b68d683e8513b2f6efedb44b"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-false-replacement-test",
"expectedResult": {
"changes": {
"false.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
14
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Added the 'false' return statement"
2016-10-11 18:12:20 +03:00
},
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
6
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Deleted 'false'"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"false.js"
],
2016-10-11 23:17:34 +03:00
"sha1": "b2db9c4bb0b3a8d6b68d683e8513b2f6efedb44b",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 23:17:34 +03:00
"sha2": "dd9ec604931ffffba1b6c7bd4773ec8ac5418804"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-false-delete-replacement-test",
"expectedResult": {
"changes": {
"false.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
14
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Deleted the 'false' return statement"
2016-10-11 18:12:20 +03:00
},
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
2,
1
],
"end": [
2,
6
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Deleted 'false'"
2016-10-11 18:12:20 +03:00
},
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
2,
1
],
"end": [
2,
14
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Added the 'false' return statement"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"false.js"
],
2016-10-11 23:17:34 +03:00
"sha1": "dd9ec604931ffffba1b6c7bd4773ec8ac5418804",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 23:17:34 +03:00
"sha2": "4b8dddf41a7b9ac76de8ff5eb1327fb0bd1f8dcb"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-false-delete-test",
"expectedResult": {
"changes": {
"false.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
6
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Deleted 'false'"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"false.js"
],
2016-10-11 23:17:34 +03:00
"sha1": "4b8dddf41a7b9ac76de8ff5eb1327fb0bd1f8dcb",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 23:17:34 +03:00
"sha2": "2f2527a35cc4511ba3e91e4360f61e56f20d9c3e"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-false-delete-rest-test",
"expectedResult": {
"changes": {
"false.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
14
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Deleted the 'false' return statement"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"false.js"
],
2016-10-11 23:17:34 +03:00
"sha1": "2f2527a35cc4511ba3e91e4360f61e56f20d9c3e",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 23:17:34 +03:00
"sha2": "7f7c1c904ffcc4ea539925a1d336147d84fd90b8"
2016-10-11 18:12:20 +03:00
}]