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

297 lines
9.2 KiB
JSON
Raw Normal View History

2016-10-11 18:12:20 +03:00
[{
"testCaseDescription": "javascript-math-assignment-operator-insert-test",
"expectedResult": {
"changes": {
"math-assignment-operator.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
7
]
}
},
"summary": "Added the 'x' math assignment",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"math-assignment-operator.js"
],
2016-10-11 22:13:51 +03:00
"sha1": "2ca5d30b5fd1ebde9a1a664d1b82909706d83564",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 22:13:51 +03:00
"sha2": "c77665677c2dd3b83ba7fefcc63b1d827ffdcce8"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-math-assignment-operator-replacement-insert-test",
"expectedResult": {
"changes": {
"math-assignment-operator.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
7
]
}
},
"summary": "Added the 'x' math assignment",
"tag": "JSONSummary"
},
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
2,
1
],
"end": [
2,
7
]
}
},
"summary": "Added the 'x' math assignment",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"math-assignment-operator.js"
],
2016-10-11 22:13:51 +03:00
"sha1": "c77665677c2dd3b83ba7fefcc63b1d827ffdcce8",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 22:13:51 +03:00
"sha2": "c2ba4903792d6930abf7ebb660bed06435c39849"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-math-assignment-operator-delete-insert-test",
"expectedResult": {
"changes": {
"math-assignment-operator.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"replace": [
2016-10-11 18:12:20 +03:00
{
"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"
],
2016-10-11 22:13:51 +03:00
"sha1": "c2ba4903792d6930abf7ebb660bed06435c39849",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 22:13:51 +03:00
"sha2": "c96c70294daa06c57e6f14cb42372b346066a52e"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-math-assignment-operator-replacement-test",
"expectedResult": {
"changes": {
"math-assignment-operator.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"replace": [
2016-10-11 18:12:20 +03:00
{
"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"
],
2016-10-11 22:13:51 +03:00
"sha1": "c96c70294daa06c57e6f14cb42372b346066a52e",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 22:13:51 +03:00
"sha2": "4d6fe1c4cb15bf7b1801b95862c70203b5134321"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-math-assignment-operator-delete-replacement-test",
"expectedResult": {
"changes": {
"math-assignment-operator.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
7
]
}
},
"summary": "Deleted the 'x' math assignment",
"tag": "JSONSummary"
},
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
2,
1
],
"end": [
2,
7
]
}
},
"summary": "Deleted the 'x' math assignment",
"tag": "JSONSummary"
},
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
2,
1
],
"end": [
2,
7
]
}
},
"summary": "Added the 'x' math assignment",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"math-assignment-operator.js"
],
2016-10-11 22:13:51 +03:00
"sha1": "4d6fe1c4cb15bf7b1801b95862c70203b5134321",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 22:13:51 +03:00
"sha2": "7ac20dbefc8263eb02d522920b8ddb59fdd0b6f3"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-math-assignment-operator-delete-test",
"expectedResult": {
"changes": {
"math-assignment-operator.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
7
]
}
},
"summary": "Deleted the 'x' math assignment",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"math-assignment-operator.js"
],
2016-10-11 22:13:51 +03:00
"sha1": "7ac20dbefc8263eb02d522920b8ddb59fdd0b6f3",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 22:13:51 +03:00
"sha2": "8a2ae9688bfc32aab39c26627746cc570e7b65f1"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-math-assignment-operator-delete-rest-test",
"expectedResult": {
"changes": {
"math-assignment-operator.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
7
]
}
},
"summary": "Deleted the 'x' math assignment",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"math-assignment-operator.js"
],
2016-10-11 22:13:51 +03:00
"sha1": "8a2ae9688bfc32aab39c26627746cc570e7b65f1",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 22:13:51 +03:00
"sha2": "4c3640ed0b5a448eb803d90898cfa643a6dd4b71"
2016-10-11 18:12:20 +03:00
}]