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 12:52:26 -04:00

317 lines
9.5 KiB
JSON

[{
"testCaseDescription": "javascript-false-insert-test",
"expectedResult": {
"changes": {
"false.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"filepath": "false.js",
"end": [
1,
6
]
}
},
"summary": "Added 'false'",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"false.js"
],
"sha1": "35b84d898e391652677c90f2c3e519f23cd51d8b",
"gitDir": "test/corpus/repos/javascript",
"sha2": "2deabe550fd6732848c41da726b757944d3cc38f"
}
,{
"testCaseDescription": "javascript-false-replacement-insert-test",
"expectedResult": {
"changes": {
"false.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"filepath": "false.js",
"end": [
1,
14
]
}
},
"summary": "Added the 'false' return statement",
"tag": "JSONSummary"
},
{
"span": {
"insert": {
"start": [
2,
1
],
"filepath": "false.js",
"end": [
2,
6
]
}
},
"summary": "Added 'false'",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"false.js"
],
"sha1": "2deabe550fd6732848c41da726b757944d3cc38f",
"gitDir": "test/corpus/repos/javascript",
"sha2": "273c03d19860cfabe4e4f4d02fb9a3975a2d7a13"
}
,{
"testCaseDescription": "javascript-false-delete-insert-test",
"expectedResult": {
"changes": {
"false.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"filepath": "false.js",
"end": [
1,
6
]
}
},
"summary": "Added 'false'",
"tag": "JSONSummary"
},
{
"span": {
"delete": {
"start": [
1,
1
],
"filepath": "false.js",
"end": [
1,
14
]
}
},
"summary": "Deleted the 'false' return statement",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"false.js"
],
"sha1": "273c03d19860cfabe4e4f4d02fb9a3975a2d7a13",
"gitDir": "test/corpus/repos/javascript",
"sha2": "3a20072e9663c17abf1f245b3a2a006bcb1a15b1"
}
,{
"testCaseDescription": "javascript-false-replacement-test",
"expectedResult": {
"changes": {
"false.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"filepath": "false.js",
"end": [
1,
14
]
}
},
"summary": "Added the 'false' return statement",
"tag": "JSONSummary"
},
{
"span": {
"delete": {
"start": [
1,
1
],
"filepath": "false.js",
"end": [
1,
6
]
}
},
"summary": "Deleted 'false'",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"false.js"
],
"sha1": "3a20072e9663c17abf1f245b3a2a006bcb1a15b1",
"gitDir": "test/corpus/repos/javascript",
"sha2": "bb17ec8db2f38d429af2cafce85cdab8e38298b7"
}
,{
"testCaseDescription": "javascript-false-delete-replacement-test",
"expectedResult": {
"changes": {
"false.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"filepath": "false.js",
"end": [
1,
14
]
}
},
"summary": "Deleted the 'false' return statement",
"tag": "JSONSummary"
},
{
"span": {
"delete": {
"start": [
2,
1
],
"filepath": "false.js",
"end": [
2,
6
]
}
},
"summary": "Deleted 'false'",
"tag": "JSONSummary"
},
{
"span": {
"insert": {
"start": [
2,
1
],
"filepath": "false.js",
"end": [
2,
14
]
}
},
"summary": "Added the 'false' return statement",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"false.js"
],
"sha1": "bb17ec8db2f38d429af2cafce85cdab8e38298b7",
"gitDir": "test/corpus/repos/javascript",
"sha2": "025f0d4a55f4138986e84edd5401728dd27461ca"
}
,{
"testCaseDescription": "javascript-false-delete-test",
"expectedResult": {
"changes": {
"false.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"filepath": "false.js",
"end": [
1,
6
]
}
},
"summary": "Deleted 'false'",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"false.js"
],
"sha1": "025f0d4a55f4138986e84edd5401728dd27461ca",
"gitDir": "test/corpus/repos/javascript",
"sha2": "38968177a75289f1b25c67c7c1e95f73c28e0aef"
}
,{
"testCaseDescription": "javascript-false-delete-rest-test",
"expectedResult": {
"changes": {
"false.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"filepath": "false.js",
"end": [
1,
14
]
}
},
"summary": "Deleted the 'false' return statement",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"false.js"
],
"sha1": "38968177a75289f1b25c67c7c1e95f73c28e0aef",
"gitDir": "test/corpus/repos/javascript",
"sha2": "986d0ecda39fda27a3351e2a332bda7d107a5665"
}]