mirror of
https://github.com/github/semantic.git
synced 2024-12-23 14:54:16 +03:00
293 lines
8.6 KiB
JSON
293 lines
8.6 KiB
JSON
[{
|
|
"testCaseDescription": "javascript-undefined-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"undefined.js": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
10
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'undefined' identifier"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"undefined.js"
|
|
],
|
|
"sha1": "ed321b51c08d6640a37c2c75423bda8952ed1a3a",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "a56b90728cebab77c395a98ec6ee0988a57b237c"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-undefined-replacement-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"undefined.js": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
18
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'undefined' return statement"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
10
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'undefined' identifier"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"undefined.js"
|
|
],
|
|
"sha1": "a56b90728cebab77c395a98ec6ee0988a57b237c",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "2773c4bb79f8e74eb53702692b6f46e7b660c328"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-undefined-delete-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"undefined.js": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
10
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'undefined' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
18
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'undefined' return statement"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"undefined.js"
|
|
],
|
|
"sha1": "2773c4bb79f8e74eb53702692b6f46e7b660c328",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "1e98da533e19013215fa8caa3cbced7d0ea7eeb0"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-undefined-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"undefined.js": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
18
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'undefined' return statement"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
10
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'undefined' identifier"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"undefined.js"
|
|
],
|
|
"sha1": "1e98da533e19013215fa8caa3cbced7d0ea7eeb0",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "f485b80ad884f1a5f0311152cfafd67c11b27a78"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-undefined-delete-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"undefined.js": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
18
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'undefined' return statement"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
10
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'undefined' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
18
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'undefined' return statement"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"undefined.js"
|
|
],
|
|
"sha1": "f485b80ad884f1a5f0311152cfafd67c11b27a78",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "a876b838a04ca6202abc213d44015f573369c28a"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-undefined-delete-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"undefined.js": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
10
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'undefined' identifier"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"undefined.js"
|
|
],
|
|
"sha1": "a876b838a04ca6202abc213d44015f573369c28a",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "773d4180add43986cc8c54b6dbfe8bff9fd3a7b3"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-undefined-delete-rest-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"undefined.js": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
18
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'undefined' return statement"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"undefined.js"
|
|
],
|
|
"sha1": "773d4180add43986cc8c54b6dbfe8bff9fd3a7b3",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "fc80ccb71b0c0f159f05f8232853473f7f64457e"
|
|
}]
|