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": "1df059b866e776e67132e065bf40fa95f7bbaf54",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "aa959454a2c732079f9dc0a41ed8b6fb50652ab2"
|
|
}
|
|
,{
|
|
"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": "aa959454a2c732079f9dc0a41ed8b6fb50652ab2",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "b49089862dff0393970abc621e54fac1695cb0c6"
|
|
}
|
|
,{
|
|
"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": "b49089862dff0393970abc621e54fac1695cb0c6",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "ff1a766cbc658900518b8ebc96069f4a56274dff"
|
|
}
|
|
,{
|
|
"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": "ff1a766cbc658900518b8ebc96069f4a56274dff",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "e2ca9fdb74db7473d00633ef8be3dbef0aaec0e3"
|
|
}
|
|
,{
|
|
"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": "e2ca9fdb74db7473d00633ef8be3dbef0aaec0e3",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "2080d6316bfd870a5eb892155008310e4c2fc3f2"
|
|
}
|
|
,{
|
|
"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": "2080d6316bfd870a5eb892155008310e4c2fc3f2",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "04d65d7de4c9905e3fc229fdc5e09ba31b5796a1"
|
|
}
|
|
,{
|
|
"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": "04d65d7de4c9905e3fc229fdc5e09ba31b5796a1",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "f0737d7b1615ffbfb6bfbecf92caddfdc0c4b2fd"
|
|
}]
|