1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 13:51:44 +03:00
semantic/test/corpus/diff-summaries/javascript/void-operator.json
2016-10-11 11:26:57 -04:00

309 lines
9.7 KiB
JSON

[{
"testCaseDescription": "javascript-void-operator-insert-test",
"expectedResult": {
"changes": {
"void-operator.js": [
{
"span": {
"that": {
"start": [
1,
1
],
"name": "void-operator.js",
"end": [
1,
9
]
}
},
"summary": "Added the 'void b()' operator",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"void-operator.js"
],
"sha1": "9dd33ff948d47044417ab8a6cb2dd82903a8a1b4",
"gitDir": "test/corpus/repos/javascript",
"sha2": "b0f3ec4fd9d9fd71059a3ae6e64697c1f9fb7d15"
}
,{
"testCaseDescription": "javascript-void-operator-replacement-insert-test",
"expectedResult": {
"changes": {
"void-operator.js": [
{
"span": {
"that": {
"start": [
1,
1
],
"name": "void-operator.js",
"end": [
1,
9
]
}
},
"summary": "Added the 'void c()' operator",
"tag": "JSONSummary"
},
{
"span": {
"that": {
"start": [
2,
1
],
"name": "void-operator.js",
"end": [
2,
9
]
}
},
"summary": "Added the 'void b()' operator",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"void-operator.js"
],
"sha1": "b0f3ec4fd9d9fd71059a3ae6e64697c1f9fb7d15",
"gitDir": "test/corpus/repos/javascript",
"sha2": "90c01b59c54d23c04146dda988090b77a29ed5bb"
}
,{
"testCaseDescription": "javascript-void-operator-delete-insert-test",
"expectedResult": {
"changes": {
"void-operator.js": [
{
"span": {
"these": [
{
"start": [
1,
6
],
"name": "void-operator.js",
"end": [
1,
7
]
},
{
"start": [
1,
6
],
"name": "void-operator.js",
"end": [
1,
7
]
}
]
},
"summary": "Replaced the 'c' identifier with the 'b' identifier in the b() function call",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"void-operator.js"
],
"sha1": "90c01b59c54d23c04146dda988090b77a29ed5bb",
"gitDir": "test/corpus/repos/javascript",
"sha2": "7a4959d77283a38b9e8b8c12dba589465b0fb8f2"
}
,{
"testCaseDescription": "javascript-void-operator-replacement-test",
"expectedResult": {
"changes": {
"void-operator.js": [
{
"span": {
"these": [
{
"start": [
1,
6
],
"name": "void-operator.js",
"end": [
1,
7
]
},
{
"start": [
1,
6
],
"name": "void-operator.js",
"end": [
1,
7
]
}
]
},
"summary": "Replaced the 'b' identifier with the 'c' identifier in the c() function call",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"void-operator.js"
],
"sha1": "7a4959d77283a38b9e8b8c12dba589465b0fb8f2",
"gitDir": "test/corpus/repos/javascript",
"sha2": "8354c0746eacdabc13749e42dc63fad7bfb50a93"
}
,{
"testCaseDescription": "javascript-void-operator-delete-replacement-test",
"expectedResult": {
"changes": {
"void-operator.js": [
{
"span": {
"this": {
"start": [
1,
1
],
"name": "void-operator.js",
"end": [
1,
9
]
}
},
"summary": "Deleted the 'void c()' operator",
"tag": "JSONSummary"
},
{
"span": {
"this": {
"start": [
2,
1
],
"name": "void-operator.js",
"end": [
2,
9
]
}
},
"summary": "Deleted the 'void b()' operator",
"tag": "JSONSummary"
},
{
"span": {
"that": {
"start": [
2,
1
],
"name": "void-operator.js",
"end": [
2,
9
]
}
},
"summary": "Added the 'void c()' operator",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"void-operator.js"
],
"sha1": "8354c0746eacdabc13749e42dc63fad7bfb50a93",
"gitDir": "test/corpus/repos/javascript",
"sha2": "0b94a16d84a2dad46c1e6dc0a865da9b5c88c70f"
}
,{
"testCaseDescription": "javascript-void-operator-delete-test",
"expectedResult": {
"changes": {
"void-operator.js": [
{
"span": {
"this": {
"start": [
1,
1
],
"name": "void-operator.js",
"end": [
1,
9
]
}
},
"summary": "Deleted the 'void b()' operator",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"void-operator.js"
],
"sha1": "0b94a16d84a2dad46c1e6dc0a865da9b5c88c70f",
"gitDir": "test/corpus/repos/javascript",
"sha2": "27c04d4aef34178ffa822edd57c607fa3ff5ce03"
}
,{
"testCaseDescription": "javascript-void-operator-delete-rest-test",
"expectedResult": {
"changes": {
"void-operator.js": [
{
"span": {
"this": {
"start": [
1,
1
],
"name": "void-operator.js",
"end": [
1,
9
]
}
},
"summary": "Deleted the 'void c()' operator",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"void-operator.js"
],
"sha1": "27c04d4aef34178ffa822edd57c607fa3ff5ce03",
"gitDir": "test/corpus/repos/javascript",
"sha2": "d1711a33e14ac0a6c516afdd4885511a60f6a194"
}]