mirror of
https://github.com/github/semantic.git
synced 2024-12-24 23:42:31 +03:00
287 lines
8.8 KiB
JSON
287 lines
8.8 KiB
JSON
[{
|
|
"testCaseDescription": "javascript-math-assignment-operator-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"math-assignment-operator.js": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'x' math assignment"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"math-assignment-operator.js"
|
|
],
|
|
"sha1": "6e89831f8d15f9cb8f929ba8225f09180d8a52fb",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "599bd35c3f3203d5d1571119ac4f5a61f9d7cef8"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-math-assignment-operator-replacement-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"math-assignment-operator.js": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'x' math assignment"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'x' math assignment"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"math-assignment-operator.js"
|
|
],
|
|
"sha1": "599bd35c3f3203d5d1571119ac4f5a61f9d7cef8",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "8c8941551b6c92b15acb79dd88fa7c02e9612f1d"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-math-assignment-operator-delete-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"math-assignment-operator.js": [
|
|
{
|
|
"span": {
|
|
"replace": [
|
|
{
|
|
"start": [
|
|
1,
|
|
6
|
|
],
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
},
|
|
{
|
|
"start": [
|
|
1,
|
|
6
|
|
],
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"summary": "Replaced '2' with '1' in the x math assignment"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"math-assignment-operator.js"
|
|
],
|
|
"sha1": "8c8941551b6c92b15acb79dd88fa7c02e9612f1d",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "8fa47fe4df1beb106ae6214baf66518c7e2a95c5"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-math-assignment-operator-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"math-assignment-operator.js": [
|
|
{
|
|
"span": {
|
|
"replace": [
|
|
{
|
|
"start": [
|
|
1,
|
|
6
|
|
],
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
},
|
|
{
|
|
"start": [
|
|
1,
|
|
6
|
|
],
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"summary": "Replaced '1' with '2' in the x math assignment"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"math-assignment-operator.js"
|
|
],
|
|
"sha1": "8fa47fe4df1beb106ae6214baf66518c7e2a95c5",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "7c77803daf441f39033a6b25e43c8d6e296cfc8f"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-math-assignment-operator-delete-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"math-assignment-operator.js": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'x' math assignment"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'x' math assignment"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'x' math assignment"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"math-assignment-operator.js"
|
|
],
|
|
"sha1": "7c77803daf441f39033a6b25e43c8d6e296cfc8f",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "b37f8bf3d41273a6cf7b3dff018ceb61605b2363"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-math-assignment-operator-delete-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"math-assignment-operator.js": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'x' math assignment"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"math-assignment-operator.js"
|
|
],
|
|
"sha1": "b37f8bf3d41273a6cf7b3dff018ceb61605b2363",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "5e786092a709765ff6c4f9491de2b17ee8c7184a"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-math-assignment-operator-delete-rest-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"math-assignment-operator.js": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'x' math assignment"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"math-assignment-operator.js"
|
|
],
|
|
"sha1": "5e786092a709765ff6c4f9491de2b17ee8c7184a",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "32abe7245bb664dff78175127f9542e25f8747e2"
|
|
}]
|