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/delete-operator.json

309 lines
9.9 KiB
JSON
Raw Normal View History

2016-10-11 18:12:20 +03:00
[{
"testCaseDescription": "javascript-delete-operator-insert-test",
"expectedResult": {
"changes": {
"delete-operator.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"name": "delete-operator.js",
"end": [
1,
21
]
}
},
"summary": "Added the 'delete thing['prop']' operator",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"delete-operator.js"
],
2016-10-11 19:00:34 +03:00
"sha1": "1d2c6fd4f13c50341f68aa3be753d5748c072f12",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 19:00:34 +03:00
"sha2": "79d9ba3ad4cb2029c5a611275136bb722cdd1e16"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-delete-operator-replacement-insert-test",
"expectedResult": {
"changes": {
"delete-operator.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"name": "delete-operator.js",
"end": [
1,
18
]
}
},
"summary": "Added the 'delete thing.prop' operator",
"tag": "JSONSummary"
},
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
2,
1
],
"name": "delete-operator.js",
"end": [
2,
21
]
}
},
"summary": "Added the 'delete thing['prop']' operator",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"delete-operator.js"
],
2016-10-11 19:00:34 +03:00
"sha1": "79d9ba3ad4cb2029c5a611275136bb722cdd1e16",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 19:00:34 +03:00
"sha2": "92ece167d0e443f1ec929261dc1ec23c1373ef36"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-delete-operator-delete-insert-test",
"expectedResult": {
"changes": {
"delete-operator.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"replace": [
2016-10-11 18:12:20 +03:00
{
"start": [
1,
1
],
"name": "delete-operator.js",
"end": [
1,
18
]
},
{
"start": [
1,
1
],
"name": "delete-operator.js",
"end": [
1,
21
]
}
]
},
"summary": "Replaced the 'delete thing.prop' operator with the 'delete thing['prop']' operator",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"delete-operator.js"
],
2016-10-11 19:00:34 +03:00
"sha1": "92ece167d0e443f1ec929261dc1ec23c1373ef36",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 19:00:34 +03:00
"sha2": "e5f4a3669771a2906494327404537d35b5a64586"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-delete-operator-replacement-test",
"expectedResult": {
"changes": {
"delete-operator.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"replace": [
2016-10-11 18:12:20 +03:00
{
"start": [
1,
1
],
"name": "delete-operator.js",
"end": [
1,
21
]
},
{
"start": [
1,
1
],
"name": "delete-operator.js",
"end": [
1,
18
]
}
]
},
"summary": "Replaced the 'delete thing['prop']' operator with the 'delete thing.prop' operator",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"delete-operator.js"
],
2016-10-11 19:00:34 +03:00
"sha1": "e5f4a3669771a2906494327404537d35b5a64586",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 19:00:34 +03:00
"sha2": "a41fba80ce5541212c1d9e857994ff32798ffc5b"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-delete-operator-delete-replacement-test",
"expectedResult": {
"changes": {
"delete-operator.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"name": "delete-operator.js",
"end": [
1,
18
]
}
},
"summary": "Deleted the 'delete thing.prop' operator",
"tag": "JSONSummary"
},
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
2,
1
],
"name": "delete-operator.js",
"end": [
2,
21
]
}
},
"summary": "Deleted the 'delete thing['prop']' operator",
"tag": "JSONSummary"
},
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
2,
1
],
"name": "delete-operator.js",
"end": [
2,
18
]
}
},
"summary": "Added the 'delete thing.prop' operator",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"delete-operator.js"
],
2016-10-11 19:00:34 +03:00
"sha1": "a41fba80ce5541212c1d9e857994ff32798ffc5b",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 19:00:34 +03:00
"sha2": "53fc1797fbb60e86e31bc8700953d1226c3c5378"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-delete-operator-delete-test",
"expectedResult": {
"changes": {
"delete-operator.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"name": "delete-operator.js",
"end": [
1,
21
]
}
},
"summary": "Deleted the 'delete thing['prop']' operator",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"delete-operator.js"
],
2016-10-11 19:00:34 +03:00
"sha1": "53fc1797fbb60e86e31bc8700953d1226c3c5378",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 19:00:34 +03:00
"sha2": "2df353078b8e0e73d9bc954808c567675203a143"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-delete-operator-delete-rest-test",
"expectedResult": {
"changes": {
"delete-operator.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"name": "delete-operator.js",
"end": [
1,
18
]
}
},
"summary": "Deleted the 'delete thing.prop' operator",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"delete-operator.js"
],
2016-10-11 19:00:34 +03:00
"sha1": "2df353078b8e0e73d9bc954808c567675203a143",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 19:00:34 +03:00
"sha2": "f8fceed82b3d3f5189fd21d8dd7a5589c803ba0e"
2016-10-11 18:12:20 +03:00
}]