mirror of
https://github.com/github/semantic.git
synced 2024-12-21 22:01:46 +03:00
317 lines
9.5 KiB
JSON
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": "0cad1bc8f133de3ec0a2bff083b413422673bbb7",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "f4a3023cecb97a83e81f0b674de98c9f764a6057"
|
|
}
|
|
,{
|
|
"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": "f4a3023cecb97a83e81f0b674de98c9f764a6057",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "548d690ca10714f0a92c5a3d8fd3884b2f617088"
|
|
}
|
|
,{
|
|
"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": "548d690ca10714f0a92c5a3d8fd3884b2f617088",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "3cd2a6fd547555f9688312759b68a9dbd98418af"
|
|
}
|
|
,{
|
|
"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": "3cd2a6fd547555f9688312759b68a9dbd98418af",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "f010b4e20d7b0b41f58b23c815ff2564ef7657e3"
|
|
}
|
|
,{
|
|
"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": "f010b4e20d7b0b41f58b23c815ff2564ef7657e3",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "64b12cb4eca55960d98f1bb66c121b7f26701a0b"
|
|
}
|
|
,{
|
|
"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": "64b12cb4eca55960d98f1bb66c121b7f26701a0b",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "34dbc99b39acb62b2babc1773d707f87331aa6e5"
|
|
}
|
|
,{
|
|
"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": "34dbc99b39acb62b2babc1773d707f87331aa6e5",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "2a461fb53b242f9515049235816a7a7b018ed3d7"
|
|
}]
|