mirror of
https://github.com/github/semantic.git
synced 2024-12-24 15:35:14 +03:00
293 lines
8.4 KiB
JSON
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": "04aded71e587d0bada2c50fd567023d9de7f477c",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "74941c080527d8accd5c74955fd31110e7be5509"
|
|
}
|
|
,{
|
|
"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": "74941c080527d8accd5c74955fd31110e7be5509",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "ef20d47afcee8970df0617a652b700e2ea002d85"
|
|
}
|
|
,{
|
|
"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": "ef20d47afcee8970df0617a652b700e2ea002d85",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "c5ca8f1fedc05537db6d2a923dc63933396e1bc3"
|
|
}
|
|
,{
|
|
"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": "c5ca8f1fedc05537db6d2a923dc63933396e1bc3",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "38316340683de061a83087c8aa02ae1abbb37479"
|
|
}
|
|
,{
|
|
"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": "38316340683de061a83087c8aa02ae1abbb37479",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "3e4d9841d8064e0e35fb4b0fb5a6240ac7f538e6"
|
|
}
|
|
,{
|
|
"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": "3e4d9841d8064e0e35fb4b0fb5a6240ac7f538e6",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "7bee29b9f6ea9ffdaf9141f171828b9e5a3b4e47"
|
|
}
|
|
,{
|
|
"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": "7bee29b9f6ea9ffdaf9141f171828b9e5a3b4e47",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "559546b09a86fffc79e8283d8f7567d491c07e90"
|
|
}]
|