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

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": "91bb86f2c473fce6ff1ddd4c4e25a6362131920f",
"gitDir": "test/corpus/repos/javascript",
"sha2": "e235fe3056b7c71256b661b0a336a44da2be1329"
}
,{
"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": "e235fe3056b7c71256b661b0a336a44da2be1329",
"gitDir": "test/corpus/repos/javascript",
"sha2": "f17f509d54fab1faf744a724bea1e6bc45f88ef1"
}
,{
"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": "f17f509d54fab1faf744a724bea1e6bc45f88ef1",
"gitDir": "test/corpus/repos/javascript",
"sha2": "27ce188eaba0b82b104b61399b6d52e85c9f2934"
}
,{
"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": "27ce188eaba0b82b104b61399b6d52e85c9f2934",
"gitDir": "test/corpus/repos/javascript",
"sha2": "b88d743bc3413c7955a22108d0b1c5f52b1eedfd"
}
,{
"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": "b88d743bc3413c7955a22108d0b1c5f52b1eedfd",
"gitDir": "test/corpus/repos/javascript",
"sha2": "e77413f973aacde76e8f7b65832eda2e3d83c299"
}
,{
"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": "e77413f973aacde76e8f7b65832eda2e3d83c299",
"gitDir": "test/corpus/repos/javascript",
"sha2": "57baa35e51004dd414a0bc651d9bb199d393d9a8"
}
,{
"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": "57baa35e51004dd414a0bc651d9bb199d393d9a8",
"gitDir": "test/corpus/repos/javascript",
"sha2": "74f192419bb6a3a7ef68bb5eb4cf71e89e09b919"
}]