1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 13:51:44 +03:00
semantic/test/corpus/diff-summaries/javascript/false.json
2016-10-11 12:00:34 -04:00

317 lines
9.5 KiB
JSON

[{
"testCaseDescription": "javascript-false-insert-test",
"expectedResult": {
"changes": {
"false.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"name": "false.js",
"end": [
1,
6
]
}
},
"summary": "Added 'false'",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"false.js"
],
"sha1": "d72ebc215a9377983c2463fd424f608320626141",
"gitDir": "test/corpus/repos/javascript",
"sha2": "240ba155f4a0d96494076ac592383350d2743fb6"
}
,{
"testCaseDescription": "javascript-false-replacement-insert-test",
"expectedResult": {
"changes": {
"false.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"name": "false.js",
"end": [
1,
14
]
}
},
"summary": "Added the 'false' return statement",
"tag": "JSONSummary"
},
{
"span": {
"insert": {
"start": [
2,
1
],
"name": "false.js",
"end": [
2,
6
]
}
},
"summary": "Added 'false'",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"false.js"
],
"sha1": "240ba155f4a0d96494076ac592383350d2743fb6",
"gitDir": "test/corpus/repos/javascript",
"sha2": "754a612c9706e0a510e018e4c450fe4fe1187efc"
}
,{
"testCaseDescription": "javascript-false-delete-insert-test",
"expectedResult": {
"changes": {
"false.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"name": "false.js",
"end": [
1,
6
]
}
},
"summary": "Added 'false'",
"tag": "JSONSummary"
},
{
"span": {
"delete": {
"start": [
1,
1
],
"name": "false.js",
"end": [
1,
14
]
}
},
"summary": "Deleted the 'false' return statement",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"false.js"
],
"sha1": "754a612c9706e0a510e018e4c450fe4fe1187efc",
"gitDir": "test/corpus/repos/javascript",
"sha2": "0bc6cba1b1ef9e8b8cabc8113a015441a7f8b690"
}
,{
"testCaseDescription": "javascript-false-replacement-test",
"expectedResult": {
"changes": {
"false.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"name": "false.js",
"end": [
1,
14
]
}
},
"summary": "Added the 'false' return statement",
"tag": "JSONSummary"
},
{
"span": {
"delete": {
"start": [
1,
1
],
"name": "false.js",
"end": [
1,
6
]
}
},
"summary": "Deleted 'false'",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"false.js"
],
"sha1": "0bc6cba1b1ef9e8b8cabc8113a015441a7f8b690",
"gitDir": "test/corpus/repos/javascript",
"sha2": "8a8271e57bb0d9af3a3137170449e27344a574fb"
}
,{
"testCaseDescription": "javascript-false-delete-replacement-test",
"expectedResult": {
"changes": {
"false.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"name": "false.js",
"end": [
1,
14
]
}
},
"summary": "Deleted the 'false' return statement",
"tag": "JSONSummary"
},
{
"span": {
"delete": {
"start": [
2,
1
],
"name": "false.js",
"end": [
2,
6
]
}
},
"summary": "Deleted 'false'",
"tag": "JSONSummary"
},
{
"span": {
"insert": {
"start": [
2,
1
],
"name": "false.js",
"end": [
2,
14
]
}
},
"summary": "Added the 'false' return statement",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"false.js"
],
"sha1": "8a8271e57bb0d9af3a3137170449e27344a574fb",
"gitDir": "test/corpus/repos/javascript",
"sha2": "94d9fd3e963a5ff7aecd77f21e25e423a0d991bf"
}
,{
"testCaseDescription": "javascript-false-delete-test",
"expectedResult": {
"changes": {
"false.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"name": "false.js",
"end": [
1,
6
]
}
},
"summary": "Deleted 'false'",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"false.js"
],
"sha1": "94d9fd3e963a5ff7aecd77f21e25e423a0d991bf",
"gitDir": "test/corpus/repos/javascript",
"sha2": "e1b3d5f5c03327df610744915e4ae73b5e2af1d0"
}
,{
"testCaseDescription": "javascript-false-delete-rest-test",
"expectedResult": {
"changes": {
"false.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"name": "false.js",
"end": [
1,
14
]
}
},
"summary": "Deleted the 'false' return statement",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"false.js"
],
"sha1": "e1b3d5f5c03327df610744915e4ae73b5e2af1d0",
"gitDir": "test/corpus/repos/javascript",
"sha2": "a73251e778f05b8cbe501d5f6ea0c483640ced20"
}]