1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 06:11:49 +03:00
semantic/test/corpus/diff-summaries/javascript/undefined.json
2016-10-11 15:13:51 -04:00

305 lines
9.1 KiB
JSON

[{
"testCaseDescription": "javascript-undefined-insert-test",
"expectedResult": {
"changes": {
"undefined.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
10
]
}
},
"summary": "Added the 'undefined' identifier",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"undefined.js"
],
"sha1": "3e883f3c905964aa9c04a836721989934f251368",
"gitDir": "test/corpus/repos/javascript",
"sha2": "24616410c732e4ed0d2bdd366a9b7c65f1350ab9"
}
,{
"testCaseDescription": "javascript-undefined-replacement-insert-test",
"expectedResult": {
"changes": {
"undefined.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
18
]
}
},
"summary": "Added the 'undefined' return statement",
"tag": "JSONSummary"
},
{
"span": {
"insert": {
"start": [
2,
1
],
"end": [
2,
10
]
}
},
"summary": "Added the 'undefined' identifier",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"undefined.js"
],
"sha1": "24616410c732e4ed0d2bdd366a9b7c65f1350ab9",
"gitDir": "test/corpus/repos/javascript",
"sha2": "65b072d0a6fc020645b06825f6575c2b445e88fe"
}
,{
"testCaseDescription": "javascript-undefined-delete-insert-test",
"expectedResult": {
"changes": {
"undefined.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
10
]
}
},
"summary": "Added the 'undefined' identifier",
"tag": "JSONSummary"
},
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
18
]
}
},
"summary": "Deleted the 'undefined' return statement",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"undefined.js"
],
"sha1": "65b072d0a6fc020645b06825f6575c2b445e88fe",
"gitDir": "test/corpus/repos/javascript",
"sha2": "844f980e3cd0425b33d6750fd10f33a7c2e52ad5"
}
,{
"testCaseDescription": "javascript-undefined-replacement-test",
"expectedResult": {
"changes": {
"undefined.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
18
]
}
},
"summary": "Added the 'undefined' return statement",
"tag": "JSONSummary"
},
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
10
]
}
},
"summary": "Deleted the 'undefined' identifier",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"undefined.js"
],
"sha1": "844f980e3cd0425b33d6750fd10f33a7c2e52ad5",
"gitDir": "test/corpus/repos/javascript",
"sha2": "0908d4dfcb1c0b86f4ca20bd055670ebbe0e9dac"
}
,{
"testCaseDescription": "javascript-undefined-delete-replacement-test",
"expectedResult": {
"changes": {
"undefined.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
18
]
}
},
"summary": "Deleted the 'undefined' return statement",
"tag": "JSONSummary"
},
{
"span": {
"delete": {
"start": [
2,
1
],
"end": [
2,
10
]
}
},
"summary": "Deleted the 'undefined' identifier",
"tag": "JSONSummary"
},
{
"span": {
"insert": {
"start": [
2,
1
],
"end": [
2,
18
]
}
},
"summary": "Added the 'undefined' return statement",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"undefined.js"
],
"sha1": "0908d4dfcb1c0b86f4ca20bd055670ebbe0e9dac",
"gitDir": "test/corpus/repos/javascript",
"sha2": "3439b9b0f4daba5fb029403dcc7d37d7d5f147de"
}
,{
"testCaseDescription": "javascript-undefined-delete-test",
"expectedResult": {
"changes": {
"undefined.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
10
]
}
},
"summary": "Deleted the 'undefined' identifier",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"undefined.js"
],
"sha1": "3439b9b0f4daba5fb029403dcc7d37d7d5f147de",
"gitDir": "test/corpus/repos/javascript",
"sha2": "fd6bea53f81c603df1baa77d61048b0c7162d3ed"
}
,{
"testCaseDescription": "javascript-undefined-delete-rest-test",
"expectedResult": {
"changes": {
"undefined.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
18
]
}
},
"summary": "Deleted the 'undefined' return statement",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"undefined.js"
],
"sha1": "fd6bea53f81c603df1baa77d61048b0c7162d3ed",
"gitDir": "test/corpus/repos/javascript",
"sha2": "3e1c52cdcfb175a8271723e1584824e78861caa0"
}]