1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 23:42:31 +03:00
semantic/test/corpus/diff-summaries/javascript/null.json
2016-11-01 10:03:25 -05: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": "6d600208cc985a6c0fbbbdbd54227f1010a9bb14",
"gitDir": "test/corpus/repos/javascript",
"sha2": "9b71ef1c47d67951f4ecc3dae50e424cbfecb573"
}
,{
"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": "9b71ef1c47d67951f4ecc3dae50e424cbfecb573",
"gitDir": "test/corpus/repos/javascript",
"sha2": "8c527baf4dee64ca32e1c4afe79297c797b1d388"
}
,{
"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": "8c527baf4dee64ca32e1c4afe79297c797b1d388",
"gitDir": "test/corpus/repos/javascript",
"sha2": "48099f6976342322c2143c1f57201c85a7ddb9e7"
}
,{
"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": "48099f6976342322c2143c1f57201c85a7ddb9e7",
"gitDir": "test/corpus/repos/javascript",
"sha2": "4be96fd5ce010d81a8cca69132893d977c967ceb"
}
,{
"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": "4be96fd5ce010d81a8cca69132893d977c967ceb",
"gitDir": "test/corpus/repos/javascript",
"sha2": "d0b15cb05c48d6748b7b3c37c51a41f321564feb"
}
,{
"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": "d0b15cb05c48d6748b7b3c37c51a41f321564feb",
"gitDir": "test/corpus/repos/javascript",
"sha2": "4cd110586313e3903a866bd42d181a02c05cc693"
}
,{
"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": "4cd110586313e3903a866bd42d181a02c05cc693",
"gitDir": "test/corpus/repos/javascript",
"sha2": "ed321b51c08d6640a37c2c75423bda8952ed1a3a"
}]