1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 23:42:31 +03:00
semantic/test/corpus/diff-summaries/javascript/math-assignment-operator.json
2016-10-12 19:44:27 -04:00

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": "be44ce9b147de0474a6fd1f7208719c35d4357c3",
"gitDir": "test/corpus/repos/javascript",
"sha2": "f458ab6b678f08fbc568ff8c7952680a1017c5db"
}
,{
"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": "f458ab6b678f08fbc568ff8c7952680a1017c5db",
"gitDir": "test/corpus/repos/javascript",
"sha2": "363587b10c32c65b73872ae05696840f535a0a7e"
}
,{
"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": "363587b10c32c65b73872ae05696840f535a0a7e",
"gitDir": "test/corpus/repos/javascript",
"sha2": "203b6a1f9d17ca9f94d5e33c8bd8b16e61271d32"
}
,{
"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": "203b6a1f9d17ca9f94d5e33c8bd8b16e61271d32",
"gitDir": "test/corpus/repos/javascript",
"sha2": "a6d824ae8260dcffc2105c4187ae476b40d7b9bf"
}
,{
"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": "a6d824ae8260dcffc2105c4187ae476b40d7b9bf",
"gitDir": "test/corpus/repos/javascript",
"sha2": "edc82dd0d34e513ea5487c1f33ebe9dc84e28d5f"
}
,{
"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": "edc82dd0d34e513ea5487c1f33ebe9dc84e28d5f",
"gitDir": "test/corpus/repos/javascript",
"sha2": "fb7188e471c9c1366962539e76f57cdb2232d08a"
}
,{
"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": "fb7188e471c9c1366962539e76f57cdb2232d08a",
"gitDir": "test/corpus/repos/javascript",
"sha2": "5318deb222fe507ea1b540e544b5f61acd998c74"
}]