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/template-string.json
2016-10-11 12:00:34 -04:00

309 lines
9.9 KiB
JSON

[{
"testCaseDescription": "javascript-template-string-insert-test",
"expectedResult": {
"changes": {
"template-string.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"name": "template-string.js",
"end": [
1,
11
]
}
},
"summary": "Added the '`one line`' template string",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"template-string.js"
],
"sha1": "b2046cbd2baf7870677913d1acc35696f7a97f84",
"gitDir": "test/corpus/repos/javascript",
"sha2": "86eea3a9c43e1c8981341e2d81fdb8b21ef67e38"
}
,{
"testCaseDescription": "javascript-template-string-replacement-insert-test",
"expectedResult": {
"changes": {
"template-string.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"name": "template-string.js",
"end": [
1,
13
]
}
},
"summary": "Added the '`multi line`' template string",
"tag": "JSONSummary"
},
{
"span": {
"insert": {
"start": [
2,
1
],
"name": "template-string.js",
"end": [
2,
11
]
}
},
"summary": "Added the '`one line`' template string",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"template-string.js"
],
"sha1": "86eea3a9c43e1c8981341e2d81fdb8b21ef67e38",
"gitDir": "test/corpus/repos/javascript",
"sha2": "cd8c59b544053f3b2b9e11384660f27ee3060ec8"
}
,{
"testCaseDescription": "javascript-template-string-delete-insert-test",
"expectedResult": {
"changes": {
"template-string.js": [
{
"span": {
"replace": [
{
"start": [
1,
1
],
"name": "template-string.js",
"end": [
1,
13
]
},
{
"start": [
1,
1
],
"name": "template-string.js",
"end": [
1,
11
]
}
]
},
"summary": "Replaced the '`multi line`' template string with the '`one line`' template string",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"template-string.js"
],
"sha1": "cd8c59b544053f3b2b9e11384660f27ee3060ec8",
"gitDir": "test/corpus/repos/javascript",
"sha2": "212a15e06fdc26f0dd40b668e1e6c95888476a84"
}
,{
"testCaseDescription": "javascript-template-string-replacement-test",
"expectedResult": {
"changes": {
"template-string.js": [
{
"span": {
"replace": [
{
"start": [
1,
1
],
"name": "template-string.js",
"end": [
1,
11
]
},
{
"start": [
1,
1
],
"name": "template-string.js",
"end": [
1,
13
]
}
]
},
"summary": "Replaced the '`one line`' template string with the '`multi line`' template string",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"template-string.js"
],
"sha1": "212a15e06fdc26f0dd40b668e1e6c95888476a84",
"gitDir": "test/corpus/repos/javascript",
"sha2": "16a3b8a4889116cd87e1421ca5336dc2512a9f71"
}
,{
"testCaseDescription": "javascript-template-string-delete-replacement-test",
"expectedResult": {
"changes": {
"template-string.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"name": "template-string.js",
"end": [
1,
13
]
}
},
"summary": "Deleted the '`multi line`' template string",
"tag": "JSONSummary"
},
{
"span": {
"delete": {
"start": [
2,
1
],
"name": "template-string.js",
"end": [
2,
11
]
}
},
"summary": "Deleted the '`one line`' template string",
"tag": "JSONSummary"
},
{
"span": {
"insert": {
"start": [
2,
1
],
"name": "template-string.js",
"end": [
2,
13
]
}
},
"summary": "Added the '`multi line`' template string",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"template-string.js"
],
"sha1": "16a3b8a4889116cd87e1421ca5336dc2512a9f71",
"gitDir": "test/corpus/repos/javascript",
"sha2": "da33d916e0e5bb8f980a2225a65c9518e0a347e8"
}
,{
"testCaseDescription": "javascript-template-string-delete-test",
"expectedResult": {
"changes": {
"template-string.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"name": "template-string.js",
"end": [
1,
11
]
}
},
"summary": "Deleted the '`one line`' template string",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"template-string.js"
],
"sha1": "da33d916e0e5bb8f980a2225a65c9518e0a347e8",
"gitDir": "test/corpus/repos/javascript",
"sha2": "67b51d8f3b174b011fc32cf8cba64246d727a44d"
}
,{
"testCaseDescription": "javascript-template-string-delete-rest-test",
"expectedResult": {
"changes": {
"template-string.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"name": "template-string.js",
"end": [
1,
13
]
}
},
"summary": "Deleted the '`multi line`' template string",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"template-string.js"
],
"sha1": "67b51d8f3b174b011fc32cf8cba64246d727a44d",
"gitDir": "test/corpus/repos/javascript",
"sha2": "7fe4e0b214260f0482129909a00b5146e3bfc1da"
}]