mirror of
https://github.com/github/semantic.git
synced 2024-12-30 10:27:45 +03:00
419 lines
13 KiB
JSON
419 lines
13 KiB
JSON
[{
|
|
"testCaseDescription": "javascript-comma-operator-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"comma-operator.js": [
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "comma-operator.js",
|
|
"end": [
|
|
1,
|
|
6
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'a' assignment",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
1,
|
|
8
|
|
],
|
|
"name": "comma-operator.js",
|
|
"end": [
|
|
1,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'b' assignment",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"comma-operator.js"
|
|
],
|
|
"sha1": "1cda03e29bc707037e0b55c899bc9d9fec1239db",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "920808e907dca825300353988c74581c5ecda2ef"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-comma-operator-replacement-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"comma-operator.js": [
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "comma-operator.js",
|
|
"end": [
|
|
1,
|
|
23
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'c' assignment",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"name": "comma-operator.js",
|
|
"end": [
|
|
2,
|
|
6
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'a' assignment",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
2,
|
|
8
|
|
],
|
|
"name": "comma-operator.js",
|
|
"end": [
|
|
2,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'b' assignment",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"comma-operator.js"
|
|
],
|
|
"sha1": "920808e907dca825300353988c74581c5ecda2ef",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "d3a5a9b3abd6447ccef0b274d3eb2578a33a31a7"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-comma-operator-delete-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"comma-operator.js": [
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "comma-operator.js",
|
|
"end": [
|
|
1,
|
|
6
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'a' assignment",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
1,
|
|
8
|
|
],
|
|
"name": "comma-operator.js",
|
|
"end": [
|
|
1,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'b' assignment",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "comma-operator.js",
|
|
"end": [
|
|
1,
|
|
23
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'c' assignment",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"comma-operator.js"
|
|
],
|
|
"sha1": "d3a5a9b3abd6447ccef0b274d3eb2578a33a31a7",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "5596ae83228451e6923a17ab6c04643cd6cec60e"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-comma-operator-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"comma-operator.js": [
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "comma-operator.js",
|
|
"end": [
|
|
1,
|
|
23
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'c' assignment",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "comma-operator.js",
|
|
"end": [
|
|
1,
|
|
6
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'a' assignment",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
1,
|
|
8
|
|
],
|
|
"name": "comma-operator.js",
|
|
"end": [
|
|
1,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'b' assignment",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"comma-operator.js"
|
|
],
|
|
"sha1": "5596ae83228451e6923a17ab6c04643cd6cec60e",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "abffc326e31c8e683d638e33541c98e6a3a2d45b"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-comma-operator-delete-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"comma-operator.js": [
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "comma-operator.js",
|
|
"end": [
|
|
1,
|
|
23
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'c' assignment",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"name": "comma-operator.js",
|
|
"end": [
|
|
2,
|
|
6
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'a' assignment",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
2,
|
|
8
|
|
],
|
|
"name": "comma-operator.js",
|
|
"end": [
|
|
2,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'b' assignment",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"name": "comma-operator.js",
|
|
"end": [
|
|
2,
|
|
23
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'c' assignment",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"comma-operator.js"
|
|
],
|
|
"sha1": "abffc326e31c8e683d638e33541c98e6a3a2d45b",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "a5e093ceccbeb8a3a19bc72aa15bdc8bd228a291"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-comma-operator-delete-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"comma-operator.js": [
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "comma-operator.js",
|
|
"end": [
|
|
1,
|
|
6
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'a' assignment",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
1,
|
|
8
|
|
],
|
|
"name": "comma-operator.js",
|
|
"end": [
|
|
1,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'b' assignment",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"comma-operator.js"
|
|
],
|
|
"sha1": "a5e093ceccbeb8a3a19bc72aa15bdc8bd228a291",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "4ceb6b816b56136ad1ee95bddf17552371937425"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-comma-operator-delete-rest-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"comma-operator.js": [
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "comma-operator.js",
|
|
"end": [
|
|
1,
|
|
23
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'c' assignment",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"comma-operator.js"
|
|
],
|
|
"sha1": "4ceb6b816b56136ad1ee95bddf17552371937425",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "216c9ba07743064780c37d5f07af95a9dee2bf96"
|
|
}]
|