mirror of
https://github.com/github/semantic.git
synced 2024-12-22 06:11:49 +03:00
401 lines
12 KiB
JSON
401 lines
12 KiB
JSON
[{
|
|
"testCaseDescription": "javascript-comma-operator-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"comma-operator.js": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
6
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'a' assignment",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
8
|
|
],
|
|
"end": [
|
|
1,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'b' assignment",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"comma-operator.js"
|
|
],
|
|
"sha1": "c376ba3379a36f234ec18e27404102b3ec9c0794",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "31e90b6b1c5c3dc917da063eaf26d247b75b5c46"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-comma-operator-replacement-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"comma-operator.js": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
23
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'c' assignment",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
6
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'a' assignment",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
8
|
|
],
|
|
"end": [
|
|
2,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'b' assignment",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"comma-operator.js"
|
|
],
|
|
"sha1": "31e90b6b1c5c3dc917da063eaf26d247b75b5c46",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "80531ffeb669b96cf79ad6c9ad2324d4c238e2a4"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-comma-operator-delete-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"comma-operator.js": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
6
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'a' assignment",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
8
|
|
],
|
|
"end": [
|
|
1,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'b' assignment",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
23
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'c' assignment",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"comma-operator.js"
|
|
],
|
|
"sha1": "80531ffeb669b96cf79ad6c9ad2324d4c238e2a4",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "8a61a54a5e569eb053d0bbdf9f2aa8093b66ffdc"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-comma-operator-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"comma-operator.js": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
23
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'c' assignment",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
6
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'a' assignment",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
8
|
|
],
|
|
"end": [
|
|
1,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'b' assignment",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"comma-operator.js"
|
|
],
|
|
"sha1": "8a61a54a5e569eb053d0bbdf9f2aa8093b66ffdc",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "4de76b87e19fa641bbde82250f5c1448582adde0"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-comma-operator-delete-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"comma-operator.js": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
23
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'c' assignment",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
6
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'a' assignment",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
2,
|
|
8
|
|
],
|
|
"end": [
|
|
2,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'b' assignment",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
23
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'c' assignment",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"comma-operator.js"
|
|
],
|
|
"sha1": "4de76b87e19fa641bbde82250f5c1448582adde0",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "358a64dfe4454828ab1cd7632ea33aabf8791031"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-comma-operator-delete-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"comma-operator.js": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
6
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'a' assignment",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
8
|
|
],
|
|
"end": [
|
|
1,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'b' assignment",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"comma-operator.js"
|
|
],
|
|
"sha1": "358a64dfe4454828ab1cd7632ea33aabf8791031",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "c7bc8d4656be920af42145c1ff818668ad25bcaa"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-comma-operator-delete-rest-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"comma-operator.js": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
23
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'c' assignment",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"comma-operator.js"
|
|
],
|
|
"sha1": "c7bc8d4656be920af42145c1ff818668ad25bcaa",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "2a1ddb9a8c6d84924131fb18113f31eeade50718"
|
|
}]
|