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/null.json
2016-10-14 12:19:31 -04:00

293 lines
8.5 KiB
JSON

[{
"testCaseDescription": "javascript-null-insert-test",
"expectedResult": {
"changes": {
"null.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
5
]
}
},
"summary": "Added the 'null' identifier"
}
]
},
"errors": {}
},
"filePaths": [
"null.js"
],
"sha1": "83b4466d65d17be14da0090c42bbc0fdea231913",
"gitDir": "test/corpus/repos/javascript",
"sha2": "0df638a0b6390c85c68d506d1fe9b92e99147ec4"
}
,{
"testCaseDescription": "javascript-null-replacement-insert-test",
"expectedResult": {
"changes": {
"null.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
13
]
}
},
"summary": "Added the 'null' return statement"
},
{
"span": {
"insert": {
"start": [
2,
1
],
"end": [
2,
5
]
}
},
"summary": "Added the 'null' identifier"
}
]
},
"errors": {}
},
"filePaths": [
"null.js"
],
"sha1": "0df638a0b6390c85c68d506d1fe9b92e99147ec4",
"gitDir": "test/corpus/repos/javascript",
"sha2": "c57f9943bffd17daa36a4155092f56853460d260"
}
,{
"testCaseDescription": "javascript-null-delete-insert-test",
"expectedResult": {
"changes": {
"null.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
5
]
}
},
"summary": "Added the 'null' identifier"
},
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
13
]
}
},
"summary": "Deleted the 'null' return statement"
}
]
},
"errors": {}
},
"filePaths": [
"null.js"
],
"sha1": "c57f9943bffd17daa36a4155092f56853460d260",
"gitDir": "test/corpus/repos/javascript",
"sha2": "201f6a1332443796da10fef2d2526408d8e3e094"
}
,{
"testCaseDescription": "javascript-null-replacement-test",
"expectedResult": {
"changes": {
"null.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
13
]
}
},
"summary": "Added the 'null' return statement"
},
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
5
]
}
},
"summary": "Deleted the 'null' identifier"
}
]
},
"errors": {}
},
"filePaths": [
"null.js"
],
"sha1": "201f6a1332443796da10fef2d2526408d8e3e094",
"gitDir": "test/corpus/repos/javascript",
"sha2": "fc229c5d0434aea2703786492b8eecea2cdc6530"
}
,{
"testCaseDescription": "javascript-null-delete-replacement-test",
"expectedResult": {
"changes": {
"null.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
13
]
}
},
"summary": "Deleted the 'null' return statement"
},
{
"span": {
"delete": {
"start": [
2,
1
],
"end": [
2,
5
]
}
},
"summary": "Deleted the 'null' identifier"
},
{
"span": {
"insert": {
"start": [
2,
1
],
"end": [
2,
13
]
}
},
"summary": "Added the 'null' return statement"
}
]
},
"errors": {}
},
"filePaths": [
"null.js"
],
"sha1": "fc229c5d0434aea2703786492b8eecea2cdc6530",
"gitDir": "test/corpus/repos/javascript",
"sha2": "db5a0761286a67049dcc71fe89f691bef18c2ce8"
}
,{
"testCaseDescription": "javascript-null-delete-test",
"expectedResult": {
"changes": {
"null.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
5
]
}
},
"summary": "Deleted the 'null' identifier"
}
]
},
"errors": {}
},
"filePaths": [
"null.js"
],
"sha1": "db5a0761286a67049dcc71fe89f691bef18c2ce8",
"gitDir": "test/corpus/repos/javascript",
"sha2": "73dd35fbefc2e121d28bd9b7326494c3fcc73a25"
}
,{
"testCaseDescription": "javascript-null-delete-rest-test",
"expectedResult": {
"changes": {
"null.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
13
]
}
},
"summary": "Deleted the 'null' return statement"
}
]
},
"errors": {}
},
"filePaths": [
"null.js"
],
"sha1": "73dd35fbefc2e121d28bd9b7326494c3fcc73a25",
"gitDir": "test/corpus/repos/javascript",
"sha2": "6119238f66f3114703920395b06a9987a976f19f"
}]