mirror of
https://github.com/github/semantic.git
synced 2024-12-23 14:54:16 +03:00
293 lines
8.7 KiB
JSON
293 lines
8.7 KiB
JSON
[{
|
|
"testCaseDescription": "javascript-this-expression-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"this-expression.js": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
5
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'this' identifier"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"this-expression.js"
|
|
],
|
|
"sha1": "7fdb9e08edc6110d25c4015cd041d821eca34b14",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "5246c8f868e309b94cc337f6df914f4bf8e63deb"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-this-expression-replacement-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"this-expression.js": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'this' return statement"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
5
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'this' identifier"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"this-expression.js"
|
|
],
|
|
"sha1": "5246c8f868e309b94cc337f6df914f4bf8e63deb",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "d1e9f4b6654f6a5e62b15aede20868dd71923d47"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-this-expression-delete-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"this-expression.js": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
5
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'this' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'this' return statement"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"this-expression.js"
|
|
],
|
|
"sha1": "d1e9f4b6654f6a5e62b15aede20868dd71923d47",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "da215acadf14d79c00135344cf2fb5068dc04883"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-this-expression-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"this-expression.js": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'this' return statement"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
5
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'this' identifier"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"this-expression.js"
|
|
],
|
|
"sha1": "da215acadf14d79c00135344cf2fb5068dc04883",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "748bd4c5641d08440aad39a1854d64e89cfac9b9"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-this-expression-delete-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"this-expression.js": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'this' return statement"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
5
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'this' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'this' return statement"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"this-expression.js"
|
|
],
|
|
"sha1": "748bd4c5641d08440aad39a1854d64e89cfac9b9",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "b6d80ea26f383d11460a37e6f76fa017021f09b9"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-this-expression-delete-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"this-expression.js": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
5
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'this' identifier"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"this-expression.js"
|
|
],
|
|
"sha1": "b6d80ea26f383d11460a37e6f76fa017021f09b9",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "32e8072597c01c855b045a34edb7fd8e4bc1415d"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-this-expression-delete-rest-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"this-expression.js": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'this' return statement"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"this-expression.js"
|
|
],
|
|
"sha1": "32e8072597c01c855b045a34edb7fd8e4bc1415d",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "0d1c2cdaf46b3c650950c2480d4cbb0286b71d73"
|
|
}]
|