mirror of
https://github.com/github/semantic.git
synced 2024-12-22 14:21:31 +03:00
309 lines
10 KiB
JSON
309 lines
10 KiB
JSON
[{
|
|
"testCaseDescription": "javascript-math-assignment-operator-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"math-assignment-operator.js": [
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "math-assignment-operator.js",
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'x' math assignment",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"math-assignment-operator.js"
|
|
],
|
|
"sha1": "de1bc70d66645688aab217b87e9d472a34e42bd1",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "304dfd62cf86a774d5233356d3fbf6b8ae6a653f"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-math-assignment-operator-replacement-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"math-assignment-operator.js": [
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "math-assignment-operator.js",
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'x' math assignment",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"name": "math-assignment-operator.js",
|
|
"end": [
|
|
2,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'x' math assignment",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"math-assignment-operator.js"
|
|
],
|
|
"sha1": "304dfd62cf86a774d5233356d3fbf6b8ae6a653f",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "6f518ab031fdda3308872804c6fe6e05a6a188b1"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-math-assignment-operator-delete-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"math-assignment-operator.js": [
|
|
{
|
|
"span": {
|
|
"these": [
|
|
{
|
|
"start": [
|
|
1,
|
|
6
|
|
],
|
|
"name": "math-assignment-operator.js",
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
},
|
|
{
|
|
"start": [
|
|
1,
|
|
6
|
|
],
|
|
"name": "math-assignment-operator.js",
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"summary": "Replaced '2' with '1' in the x math assignment",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"math-assignment-operator.js"
|
|
],
|
|
"sha1": "6f518ab031fdda3308872804c6fe6e05a6a188b1",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "424e6c93d8ff04eed06cec05810e174a8ef07fae"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-math-assignment-operator-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"math-assignment-operator.js": [
|
|
{
|
|
"span": {
|
|
"these": [
|
|
{
|
|
"start": [
|
|
1,
|
|
6
|
|
],
|
|
"name": "math-assignment-operator.js",
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
},
|
|
{
|
|
"start": [
|
|
1,
|
|
6
|
|
],
|
|
"name": "math-assignment-operator.js",
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"summary": "Replaced '1' with '2' in the x math assignment",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"math-assignment-operator.js"
|
|
],
|
|
"sha1": "424e6c93d8ff04eed06cec05810e174a8ef07fae",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "4ea476b11bab26e33537bcd43da82be1b1329260"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-math-assignment-operator-delete-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"math-assignment-operator.js": [
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "math-assignment-operator.js",
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'x' math assignment",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"name": "math-assignment-operator.js",
|
|
"end": [
|
|
2,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'x' math assignment",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"name": "math-assignment-operator.js",
|
|
"end": [
|
|
2,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'x' math assignment",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"math-assignment-operator.js"
|
|
],
|
|
"sha1": "4ea476b11bab26e33537bcd43da82be1b1329260",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "de5800f3db0450576b6b04eda1bbc145c460e524"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-math-assignment-operator-delete-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"math-assignment-operator.js": [
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "math-assignment-operator.js",
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'x' math assignment",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"math-assignment-operator.js"
|
|
],
|
|
"sha1": "de5800f3db0450576b6b04eda1bbc145c460e524",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "02b55a24fd347df4ba80d54a05681ad92de48eae"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-math-assignment-operator-delete-rest-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"math-assignment-operator.js": [
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "math-assignment-operator.js",
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'x' math assignment",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"math-assignment-operator.js"
|
|
],
|
|
"sha1": "02b55a24fd347df4ba80d54a05681ad92de48eae",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "1b5320f27fdf477cf7624573d5a594035788a73a"
|
|
}]
|