mirror of
https://github.com/github/semantic.git
synced 2024-12-21 13:51:44 +03:00
317 lines
9.5 KiB
JSON
317 lines
9.5 KiB
JSON
[{
|
|
"testCaseDescription": "javascript-null-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"null.js": [
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "null.js",
|
|
"end": [
|
|
1,
|
|
5
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'null' identifier",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"null.js"
|
|
],
|
|
"sha1": "e876cda8f0a6a14bd8518d84e985c6616b2f5548",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "7dcac4962ac6c1d7244fa02e89e11d3ea031fa94"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-null-replacement-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"null.js": [
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "null.js",
|
|
"end": [
|
|
1,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'null' return statement",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"name": "null.js",
|
|
"end": [
|
|
2,
|
|
5
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'null' identifier",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"null.js"
|
|
],
|
|
"sha1": "7dcac4962ac6c1d7244fa02e89e11d3ea031fa94",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "0562686e9fd41baa86ab32fbeb95bf53e9c55b61"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-null-delete-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"null.js": [
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "null.js",
|
|
"end": [
|
|
1,
|
|
5
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'null' identifier",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "null.js",
|
|
"end": [
|
|
1,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'null' return statement",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"null.js"
|
|
],
|
|
"sha1": "0562686e9fd41baa86ab32fbeb95bf53e9c55b61",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "55c2830f73312678a37a376936a88e1c070a9400"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-null-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"null.js": [
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "null.js",
|
|
"end": [
|
|
1,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'null' return statement",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "null.js",
|
|
"end": [
|
|
1,
|
|
5
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'null' identifier",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"null.js"
|
|
],
|
|
"sha1": "55c2830f73312678a37a376936a88e1c070a9400",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "c950b4804d1bb4b66757d3d4684b3d3d07dd74ca"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-null-delete-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"null.js": [
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "null.js",
|
|
"end": [
|
|
1,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'null' return statement",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"name": "null.js",
|
|
"end": [
|
|
2,
|
|
5
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'null' identifier",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"name": "null.js",
|
|
"end": [
|
|
2,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'null' return statement",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"null.js"
|
|
],
|
|
"sha1": "c950b4804d1bb4b66757d3d4684b3d3d07dd74ca",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "5b41396ccd34ae1f6813fc4ab6ee6ec65877ae9d"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-null-delete-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"null.js": [
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "null.js",
|
|
"end": [
|
|
1,
|
|
5
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'null' identifier",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"null.js"
|
|
],
|
|
"sha1": "5b41396ccd34ae1f6813fc4ab6ee6ec65877ae9d",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "926763653ba7397bedb14c053ed3a3ca36df9de3"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-null-delete-rest-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"null.js": [
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "null.js",
|
|
"end": [
|
|
1,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'null' return statement",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"null.js"
|
|
],
|
|
"sha1": "926763653ba7397bedb14c053ed3a3ca36df9de3",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "c4cbb6a4ff71852691d643f686d8231c9a3989a4"
|
|
}]
|