mirror of
https://github.com/github/semantic.git
synced 2024-12-21 22:01:46 +03:00
317 lines
9.4 KiB
JSON
317 lines
9.4 KiB
JSON
[{
|
|
"testCaseDescription": "javascript-false-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"false.js": [
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "false.js",
|
|
"end": [
|
|
1,
|
|
6
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added 'false'",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"false.js"
|
|
],
|
|
"sha1": "d1241fa4218f33189f78a91a9513ca7e2120a2a0",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "5c3adaccd872d776c6b837d871a79cf1f0c520ec"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-false-replacement-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"false.js": [
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "false.js",
|
|
"end": [
|
|
1,
|
|
14
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'false' return statement",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"name": "false.js",
|
|
"end": [
|
|
2,
|
|
6
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added 'false'",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"false.js"
|
|
],
|
|
"sha1": "5c3adaccd872d776c6b837d871a79cf1f0c520ec",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "791af8f5bd8ea06a1d83fe6a78788e02d2bb468d"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-false-delete-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"false.js": [
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "false.js",
|
|
"end": [
|
|
1,
|
|
6
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added 'false'",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "false.js",
|
|
"end": [
|
|
1,
|
|
14
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'false' return statement",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"false.js"
|
|
],
|
|
"sha1": "791af8f5bd8ea06a1d83fe6a78788e02d2bb468d",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "19b007fa1339fa0aa105833446507b6cc54688ad"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-false-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"false.js": [
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "false.js",
|
|
"end": [
|
|
1,
|
|
14
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'false' return statement",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "false.js",
|
|
"end": [
|
|
1,
|
|
6
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted 'false'",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"false.js"
|
|
],
|
|
"sha1": "19b007fa1339fa0aa105833446507b6cc54688ad",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "de949429ff3d674e788d99101942f61de3beb083"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-false-delete-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"false.js": [
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "false.js",
|
|
"end": [
|
|
1,
|
|
14
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'false' return statement",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"name": "false.js",
|
|
"end": [
|
|
2,
|
|
6
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted 'false'",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"name": "false.js",
|
|
"end": [
|
|
2,
|
|
14
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'false' return statement",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"false.js"
|
|
],
|
|
"sha1": "de949429ff3d674e788d99101942f61de3beb083",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "a53c2421cba5ff7a05a70181604bae01a600aaa4"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-false-delete-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"false.js": [
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "false.js",
|
|
"end": [
|
|
1,
|
|
6
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted 'false'",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"false.js"
|
|
],
|
|
"sha1": "a53c2421cba5ff7a05a70181604bae01a600aaa4",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "06a9f053e100d69f09fa0218b8cd1b815d55f820"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-false-delete-rest-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"false.js": [
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "false.js",
|
|
"end": [
|
|
1,
|
|
14
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'false' return statement",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"false.js"
|
|
],
|
|
"sha1": "06a9f053e100d69f09fa0218b8cd1b815d55f820",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "05ac6c8e85dcf3c89620fde92c3f7cccf4ca5d18"
|
|
}]
|