1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 23:11:50 +03:00
semantic/test/corpus/diff-summaries/javascript/comma-operator.json

383 lines
11 KiB
JSON
Raw Normal View History

2016-10-11 18:12:20 +03:00
[{
"testCaseDescription": "javascript-comma-operator-insert-test",
"expectedResult": {
"changes": {
"comma-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,
6
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Added the 'a' assignment"
2016-10-11 18:12:20 +03:00
},
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
1,
8
],
"end": [
1,
13
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Added the 'b' assignment"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"comma-operator.js"
],
2016-10-14 21:40:07 +03:00
"sha1": "e64ae9d5e5e9c36c61d46fc5a3205f970d0356d8",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-14 21:40:07 +03:00
"sha2": "e84c69ce819954d96c86ec0f2f7b3bbce6384be5"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-comma-operator-replacement-insert-test",
"expectedResult": {
"changes": {
"comma-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,
23
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Added the 'c' assignment"
2016-10-11 18:12:20 +03:00
},
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
2,
1
],
"end": [
2,
6
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Added the 'a' assignment"
2016-10-11 18:12:20 +03:00
},
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
2,
8
],
"end": [
2,
13
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Added the 'b' assignment"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"comma-operator.js"
],
2016-10-14 21:40:07 +03:00
"sha1": "e84c69ce819954d96c86ec0f2f7b3bbce6384be5",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-14 21:40:07 +03:00
"sha2": "6a58d584c7382ef31f27c34ee841325135d6b9bc"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-comma-operator-delete-insert-test",
"expectedResult": {
"changes": {
"comma-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,
6
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Added the 'a' assignment"
2016-10-11 18:12:20 +03:00
},
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
1,
8
],
"end": [
1,
13
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Added the 'b' assignment"
2016-10-11 18:12:20 +03:00
},
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
23
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Deleted the 'c' assignment"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"comma-operator.js"
],
2016-10-14 21:40:07 +03:00
"sha1": "6a58d584c7382ef31f27c34ee841325135d6b9bc",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-14 21:40:07 +03:00
"sha2": "47f10b92df5bf03c3256eb913e8fc6e97c326453"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-comma-operator-replacement-test",
"expectedResult": {
"changes": {
"comma-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,
23
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Added the 'c' assignment"
2016-10-11 18:12:20 +03:00
},
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
6
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Deleted the 'a' assignment"
2016-10-11 18:12:20 +03:00
},
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
1,
8
],
"end": [
1,
13
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Deleted the 'b' assignment"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"comma-operator.js"
],
2016-10-14 21:40:07 +03:00
"sha1": "47f10b92df5bf03c3256eb913e8fc6e97c326453",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-14 21:40:07 +03:00
"sha2": "3b28011e6ebe3b6056cc4e73cf53bad55350603f"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-comma-operator-delete-replacement-test",
"expectedResult": {
"changes": {
"comma-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,
23
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Deleted the 'c' assignment"
2016-10-11 18:12:20 +03:00
},
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
2,
1
],
"end": [
2,
6
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Deleted the 'a' assignment"
2016-10-11 18:12:20 +03:00
},
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
2,
8
],
"end": [
2,
13
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Deleted the 'b' assignment"
2016-10-11 18:12:20 +03:00
},
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
2,
1
],
"end": [
2,
23
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Added the 'c' assignment"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"comma-operator.js"
],
2016-10-14 21:40:07 +03:00
"sha1": "3b28011e6ebe3b6056cc4e73cf53bad55350603f",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-14 21:40:07 +03:00
"sha2": "65d631dce57c217e10941764380477241a3f4ac2"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-comma-operator-delete-test",
"expectedResult": {
"changes": {
"comma-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,
6
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Deleted the 'a' assignment"
2016-10-11 18:12:20 +03:00
},
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
1,
8
],
"end": [
1,
13
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Deleted the 'b' assignment"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"comma-operator.js"
],
2016-10-14 21:40:07 +03:00
"sha1": "65d631dce57c217e10941764380477241a3f4ac2",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-14 21:40:07 +03:00
"sha2": "6d9d2eefc06326a88fda19bd5e3bbc58731aa887"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-comma-operator-delete-rest-test",
"expectedResult": {
"changes": {
"comma-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,
23
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Deleted the 'c' assignment"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"comma-operator.js"
],
2016-10-14 21:40:07 +03:00
"sha1": "6d9d2eefc06326a88fda19bd5e3bbc58731aa887",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-14 21:40:07 +03:00
"sha2": "546367ee497592b174f80ccf5d825d6ff2367833"
2016-10-11 18:12:20 +03:00
}]