1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 22:01:46 +03:00
semantic/test/corpus/diff-summaries/javascript/math-assignment-operator.json
2016-10-11 12:00:34 -04:00

309 lines
10 KiB
JSON

[{
"testCaseDescription": "javascript-math-assignment-operator-insert-test",
"expectedResult": {
"changes": {
"math-assignment-operator.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"name": "math-assignment-operator.js",
"end": [
1,
7
]
}
},
"summary": "Added the 'x' math assignment",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"math-assignment-operator.js"
],
"sha1": "5fc82ac3374f4c8d50af76e2ae299a59e4cff396",
"gitDir": "test/corpus/repos/javascript",
"sha2": "c1179440cd79faa8f00d6b50c8f99b6f4fa3b2c7"
}
,{
"testCaseDescription": "javascript-math-assignment-operator-replacement-insert-test",
"expectedResult": {
"changes": {
"math-assignment-operator.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"name": "math-assignment-operator.js",
"end": [
1,
7
]
}
},
"summary": "Added the 'x' math assignment",
"tag": "JSONSummary"
},
{
"span": {
"insert": {
"start": [
2,
1
],
"name": "math-assignment-operator.js",
"end": [
2,
7
]
}
},
"summary": "Added the 'x' math assignment",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"math-assignment-operator.js"
],
"sha1": "c1179440cd79faa8f00d6b50c8f99b6f4fa3b2c7",
"gitDir": "test/corpus/repos/javascript",
"sha2": "9f90dacee15220d6d61f1d9d221980c7c793c7a3"
}
,{
"testCaseDescription": "javascript-math-assignment-operator-delete-insert-test",
"expectedResult": {
"changes": {
"math-assignment-operator.js": [
{
"span": {
"replace": [
{
"start": [
1,
6
],
"name": "math-assignment-operator.js",
"end": [
1,
7
]
},
{
"start": [
1,
6
],
"name": "math-assignment-operator.js",
"end": [
1,
7
]
}
]
},
"summary": "Replaced '2' with '1' in the x math assignment",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"math-assignment-operator.js"
],
"sha1": "9f90dacee15220d6d61f1d9d221980c7c793c7a3",
"gitDir": "test/corpus/repos/javascript",
"sha2": "390eb2aa1f63abbaae7f33139e1db4ec60ddb736"
}
,{
"testCaseDescription": "javascript-math-assignment-operator-replacement-test",
"expectedResult": {
"changes": {
"math-assignment-operator.js": [
{
"span": {
"replace": [
{
"start": [
1,
6
],
"name": "math-assignment-operator.js",
"end": [
1,
7
]
},
{
"start": [
1,
6
],
"name": "math-assignment-operator.js",
"end": [
1,
7
]
}
]
},
"summary": "Replaced '1' with '2' in the x math assignment",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"math-assignment-operator.js"
],
"sha1": "390eb2aa1f63abbaae7f33139e1db4ec60ddb736",
"gitDir": "test/corpus/repos/javascript",
"sha2": "7b6eff26944c44962cecfb8b041a006fc4d5cff4"
}
,{
"testCaseDescription": "javascript-math-assignment-operator-delete-replacement-test",
"expectedResult": {
"changes": {
"math-assignment-operator.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"name": "math-assignment-operator.js",
"end": [
1,
7
]
}
},
"summary": "Deleted the 'x' math assignment",
"tag": "JSONSummary"
},
{
"span": {
"delete": {
"start": [
2,
1
],
"name": "math-assignment-operator.js",
"end": [
2,
7
]
}
},
"summary": "Deleted the 'x' math assignment",
"tag": "JSONSummary"
},
{
"span": {
"insert": {
"start": [
2,
1
],
"name": "math-assignment-operator.js",
"end": [
2,
7
]
}
},
"summary": "Added the 'x' math assignment",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"math-assignment-operator.js"
],
"sha1": "7b6eff26944c44962cecfb8b041a006fc4d5cff4",
"gitDir": "test/corpus/repos/javascript",
"sha2": "35b4ffd0eeafbae6113ad22b86a1d278f5ed26a8"
}
,{
"testCaseDescription": "javascript-math-assignment-operator-delete-test",
"expectedResult": {
"changes": {
"math-assignment-operator.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"name": "math-assignment-operator.js",
"end": [
1,
7
]
}
},
"summary": "Deleted the 'x' math assignment",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"math-assignment-operator.js"
],
"sha1": "35b4ffd0eeafbae6113ad22b86a1d278f5ed26a8",
"gitDir": "test/corpus/repos/javascript",
"sha2": "411c2e22bb0eccdeb3d32fdc588e9e1a92ac4442"
}
,{
"testCaseDescription": "javascript-math-assignment-operator-delete-rest-test",
"expectedResult": {
"changes": {
"math-assignment-operator.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"name": "math-assignment-operator.js",
"end": [
1,
7
]
}
},
"summary": "Deleted the 'x' math assignment",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"math-assignment-operator.js"
],
"sha1": "411c2e22bb0eccdeb3d32fdc588e9e1a92ac4442",
"gitDir": "test/corpus/repos/javascript",
"sha2": "b0363eb07d0284130aab04183573dcd31fa7f221"
}]