1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 06:11:49 +03:00
semantic/test/corpus/diff-summaries/javascript/math-assignment-operator.json
2016-10-11 15:13:51 -04:00

297 lines
9.2 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",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"math-assignment-operator.js"
],
"sha1": "2ca5d30b5fd1ebde9a1a664d1b82909706d83564",
"gitDir": "test/corpus/repos/javascript",
"sha2": "c77665677c2dd3b83ba7fefcc63b1d827ffdcce8"
}
,{
"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",
"tag": "JSONSummary"
},
{
"span": {
"insert": {
"start": [
2,
1
],
"end": [
2,
7
]
}
},
"summary": "Added the 'x' math assignment",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"math-assignment-operator.js"
],
"sha1": "c77665677c2dd3b83ba7fefcc63b1d827ffdcce8",
"gitDir": "test/corpus/repos/javascript",
"sha2": "c2ba4903792d6930abf7ebb660bed06435c39849"
}
,{
"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",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"math-assignment-operator.js"
],
"sha1": "c2ba4903792d6930abf7ebb660bed06435c39849",
"gitDir": "test/corpus/repos/javascript",
"sha2": "c96c70294daa06c57e6f14cb42372b346066a52e"
}
,{
"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",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"math-assignment-operator.js"
],
"sha1": "c96c70294daa06c57e6f14cb42372b346066a52e",
"gitDir": "test/corpus/repos/javascript",
"sha2": "4d6fe1c4cb15bf7b1801b95862c70203b5134321"
}
,{
"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",
"tag": "JSONSummary"
},
{
"span": {
"delete": {
"start": [
2,
1
],
"end": [
2,
7
]
}
},
"summary": "Deleted the 'x' math assignment",
"tag": "JSONSummary"
},
{
"span": {
"insert": {
"start": [
2,
1
],
"end": [
2,
7
]
}
},
"summary": "Added the 'x' math assignment",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"math-assignment-operator.js"
],
"sha1": "4d6fe1c4cb15bf7b1801b95862c70203b5134321",
"gitDir": "test/corpus/repos/javascript",
"sha2": "7ac20dbefc8263eb02d522920b8ddb59fdd0b6f3"
}
,{
"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",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"math-assignment-operator.js"
],
"sha1": "7ac20dbefc8263eb02d522920b8ddb59fdd0b6f3",
"gitDir": "test/corpus/repos/javascript",
"sha2": "8a2ae9688bfc32aab39c26627746cc570e7b65f1"
}
,{
"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",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"math-assignment-operator.js"
],
"sha1": "8a2ae9688bfc32aab39c26627746cc570e7b65f1",
"gitDir": "test/corpus/repos/javascript",
"sha2": "4c3640ed0b5a448eb803d90898cfa643a6dd4b71"
}]