1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 14:54:16 +03:00
semantic/test/corpus/diff-summaries/javascript/number.json
2016-10-14 12:19:31 -04:00

287 lines
8.3 KiB
JSON

[{
"testCaseDescription": "javascript-number-insert-test",
"expectedResult": {
"changes": {
"number.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
4
]
}
},
"summary": "Added '101'"
}
]
},
"errors": {}
},
"filePaths": [
"number.js"
],
"sha1": "9ac043a42f1b6ef86f78ea1c9e119dcaefe5e1b9",
"gitDir": "test/corpus/repos/javascript",
"sha2": "518a24b834da97dd11526511624a2e2406d08cb9"
}
,{
"testCaseDescription": "javascript-number-replacement-insert-test",
"expectedResult": {
"changes": {
"number.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
4
]
}
},
"summary": "Added '102'"
},
{
"span": {
"insert": {
"start": [
2,
1
],
"end": [
2,
4
]
}
},
"summary": "Added '101'"
}
]
},
"errors": {}
},
"filePaths": [
"number.js"
],
"sha1": "518a24b834da97dd11526511624a2e2406d08cb9",
"gitDir": "test/corpus/repos/javascript",
"sha2": "6c4aca7919e4dc870d64b0c6c168236788b9e4c0"
}
,{
"testCaseDescription": "javascript-number-delete-insert-test",
"expectedResult": {
"changes": {
"number.js": [
{
"span": {
"replace": [
{
"start": [
1,
1
],
"end": [
1,
4
]
},
{
"start": [
1,
1
],
"end": [
1,
4
]
}
]
},
"summary": "Replaced '102' with '101'"
}
]
},
"errors": {}
},
"filePaths": [
"number.js"
],
"sha1": "6c4aca7919e4dc870d64b0c6c168236788b9e4c0",
"gitDir": "test/corpus/repos/javascript",
"sha2": "0a0b1399bd2b6e29c86b47190f1fb04a3114340c"
}
,{
"testCaseDescription": "javascript-number-replacement-test",
"expectedResult": {
"changes": {
"number.js": [
{
"span": {
"replace": [
{
"start": [
1,
1
],
"end": [
1,
4
]
},
{
"start": [
1,
1
],
"end": [
1,
4
]
}
]
},
"summary": "Replaced '101' with '102'"
}
]
},
"errors": {}
},
"filePaths": [
"number.js"
],
"sha1": "0a0b1399bd2b6e29c86b47190f1fb04a3114340c",
"gitDir": "test/corpus/repos/javascript",
"sha2": "027548af45a732b522e5a7cb5409f9817399249d"
}
,{
"testCaseDescription": "javascript-number-delete-replacement-test",
"expectedResult": {
"changes": {
"number.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
4
]
}
},
"summary": "Deleted '102'"
},
{
"span": {
"delete": {
"start": [
2,
1
],
"end": [
2,
4
]
}
},
"summary": "Deleted '101'"
},
{
"span": {
"insert": {
"start": [
2,
1
],
"end": [
2,
4
]
}
},
"summary": "Added '102'"
}
]
},
"errors": {}
},
"filePaths": [
"number.js"
],
"sha1": "027548af45a732b522e5a7cb5409f9817399249d",
"gitDir": "test/corpus/repos/javascript",
"sha2": "cc275c0ea8899fbde5800c0bcff4cf5fb9ef939a"
}
,{
"testCaseDescription": "javascript-number-delete-test",
"expectedResult": {
"changes": {
"number.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
4
]
}
},
"summary": "Deleted '101'"
}
]
},
"errors": {}
},
"filePaths": [
"number.js"
],
"sha1": "cc275c0ea8899fbde5800c0bcff4cf5fb9ef939a",
"gitDir": "test/corpus/repos/javascript",
"sha2": "c425ef566d594a7005444b2b415e5f43f9c162c1"
}
,{
"testCaseDescription": "javascript-number-delete-rest-test",
"expectedResult": {
"changes": {
"number.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
4
]
}
},
"summary": "Deleted '102'"
}
]
},
"errors": {}
},
"filePaths": [
"number.js"
],
"sha1": "c425ef566d594a7005444b2b415e5f43f9c162c1",
"gitDir": "test/corpus/repos/javascript",
"sha2": "70c2b3ad28368d8cb4046e95c741a12084b1dc57"
}]