mirror of
https://github.com/github/semantic.git
synced 2024-12-21 22:01:46 +03:00
317 lines
9.7 KiB
JSON
317 lines
9.7 KiB
JSON
[{
|
|
"testCaseDescription": "javascript-undefined-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"undefined.js": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "undefined.js",
|
|
"end": [
|
|
1,
|
|
10
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'undefined' identifier",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"undefined.js"
|
|
],
|
|
"sha1": "660e3a5b95669c843b77a62446f2e57dcde9e285",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "c2db3416e7367c32a0fe0ec5ba7f39f1392205f5"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-undefined-replacement-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"undefined.js": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "undefined.js",
|
|
"end": [
|
|
1,
|
|
18
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'undefined' return statement",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"name": "undefined.js",
|
|
"end": [
|
|
2,
|
|
10
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'undefined' identifier",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"undefined.js"
|
|
],
|
|
"sha1": "c2db3416e7367c32a0fe0ec5ba7f39f1392205f5",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "849f2668e8c0eb5cad7c9f2013b8260b9b307a70"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-undefined-delete-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"undefined.js": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "undefined.js",
|
|
"end": [
|
|
1,
|
|
10
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'undefined' identifier",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "undefined.js",
|
|
"end": [
|
|
1,
|
|
18
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'undefined' return statement",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"undefined.js"
|
|
],
|
|
"sha1": "849f2668e8c0eb5cad7c9f2013b8260b9b307a70",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "0a811ae8a68a68c4a1641626085a5190d0a67291"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-undefined-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"undefined.js": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "undefined.js",
|
|
"end": [
|
|
1,
|
|
18
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'undefined' return statement",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "undefined.js",
|
|
"end": [
|
|
1,
|
|
10
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'undefined' identifier",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"undefined.js"
|
|
],
|
|
"sha1": "0a811ae8a68a68c4a1641626085a5190d0a67291",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "aff5794717cafa1f3c88d9f5062f6df035f1e376"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-undefined-delete-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"undefined.js": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "undefined.js",
|
|
"end": [
|
|
1,
|
|
18
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'undefined' return statement",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"name": "undefined.js",
|
|
"end": [
|
|
2,
|
|
10
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'undefined' identifier",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"name": "undefined.js",
|
|
"end": [
|
|
2,
|
|
18
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'undefined' return statement",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"undefined.js"
|
|
],
|
|
"sha1": "aff5794717cafa1f3c88d9f5062f6df035f1e376",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "338f22f3617197c3dd81916ddf03e890901a413e"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-undefined-delete-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"undefined.js": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "undefined.js",
|
|
"end": [
|
|
1,
|
|
10
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'undefined' identifier",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"undefined.js"
|
|
],
|
|
"sha1": "338f22f3617197c3dd81916ddf03e890901a413e",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "91fe56f6791949afc929cddd8654bd51b38746cf"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-undefined-delete-rest-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"undefined.js": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "undefined.js",
|
|
"end": [
|
|
1,
|
|
18
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'undefined' return statement",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"undefined.js"
|
|
],
|
|
"sha1": "91fe56f6791949afc929cddd8654bd51b38746cf",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "d75865051390be293044f1901b2de814f883345c"
|
|
}]
|