mirror of
https://github.com/github/semantic.git
synced 2024-12-21 22:01:46 +03:00
305 lines
8.9 KiB
JSON
305 lines
8.9 KiB
JSON
[{
|
|
"testCaseDescription": "javascript-true-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"true.js": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
5
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added 'true'",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"true.js"
|
|
],
|
|
"sha1": "e8bb54ef7035c6f0ab215c7f0af3134871bd2d37",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "95ae5cef054c9d3c1a77535d0fd7b9261b13aeb9"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-true-replacement-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"true.js": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'true' return statement",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
5
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added 'true'",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"true.js"
|
|
],
|
|
"sha1": "95ae5cef054c9d3c1a77535d0fd7b9261b13aeb9",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "81f477d087ea9dc02376766508a16e7f01c4bcc3"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-true-delete-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"true.js": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
5
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added 'true'",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'true' return statement",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"true.js"
|
|
],
|
|
"sha1": "81f477d087ea9dc02376766508a16e7f01c4bcc3",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "75e755b738850d3338c31320413ad8696884fe31"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-true-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"true.js": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'true' return statement",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
5
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted 'true'",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"true.js"
|
|
],
|
|
"sha1": "75e755b738850d3338c31320413ad8696884fe31",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "6d14f16bb963f4554bd80dc780330ffc3dc66ac0"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-true-delete-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"true.js": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'true' return statement",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
5
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted 'true'",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'true' return statement",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"true.js"
|
|
],
|
|
"sha1": "6d14f16bb963f4554bd80dc780330ffc3dc66ac0",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "5ed630e1aab4b6b806751b920fc74d9d05081fb2"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-true-delete-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"true.js": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
5
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted 'true'",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"true.js"
|
|
],
|
|
"sha1": "5ed630e1aab4b6b806751b920fc74d9d05081fb2",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "aced0cd3388a00dec08265c65fabcbdc18195d78"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-true-delete-rest-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"true.js": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'true' return statement",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"true.js"
|
|
],
|
|
"sha1": "aced0cd3388a00dec08265c65fabcbdc18195d78",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "ec94fd01e01d796cac3744f43515ffaad64f1fbf"
|
|
}]
|