mirror of
https://github.com/github/semantic.git
synced 2024-12-21 05:41:54 +03:00
309 lines
10 KiB
JSON
309 lines
10 KiB
JSON
|
[{
|
||
|
"testCaseDescription": "javascript-anonymous-parameterless-function-insert-test",
|
||
|
"expectedResult": {
|
||
|
"changes": {
|
||
|
"anonymous-parameterless-function.js": [
|
||
|
{
|
||
|
"span": {
|
||
|
"that": {
|
||
|
"start": [
|
||
|
1,
|
||
|
1
|
||
|
],
|
||
|
"name": "anonymous-parameterless-function.js",
|
||
|
"end": [
|
||
|
1,
|
||
|
28
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"summary": "Added an anonymous() function",
|
||
|
"tag": "JSONSummary"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"errors": {}
|
||
|
},
|
||
|
"filePaths": [
|
||
|
"anonymous-parameterless-function.js"
|
||
|
],
|
||
|
"sha1": "cbe8e933001ed566c983447bd68c559b8a0ce299",
|
||
|
"gitDir": "test/corpus/repos/javascript",
|
||
|
"sha2": "c04c265e97a0a02caf81a65d81ddd315928ebfd6"
|
||
|
}
|
||
|
,{
|
||
|
"testCaseDescription": "javascript-anonymous-parameterless-function-replacement-insert-test",
|
||
|
"expectedResult": {
|
||
|
"changes": {
|
||
|
"anonymous-parameterless-function.js": [
|
||
|
{
|
||
|
"span": {
|
||
|
"that": {
|
||
|
"start": [
|
||
|
1,
|
||
|
1
|
||
|
],
|
||
|
"name": "anonymous-parameterless-function.js",
|
||
|
"end": [
|
||
|
1,
|
||
|
31
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"summary": "Added an anonymous() function",
|
||
|
"tag": "JSONSummary"
|
||
|
},
|
||
|
{
|
||
|
"span": {
|
||
|
"that": {
|
||
|
"start": [
|
||
|
2,
|
||
|
1
|
||
|
],
|
||
|
"name": "anonymous-parameterless-function.js",
|
||
|
"end": [
|
||
|
2,
|
||
|
28
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"summary": "Added an anonymous() function",
|
||
|
"tag": "JSONSummary"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"errors": {}
|
||
|
},
|
||
|
"filePaths": [
|
||
|
"anonymous-parameterless-function.js"
|
||
|
],
|
||
|
"sha1": "c04c265e97a0a02caf81a65d81ddd315928ebfd6",
|
||
|
"gitDir": "test/corpus/repos/javascript",
|
||
|
"sha2": "d7a616f801c122aff974bdd825ffe1bb51c5a8e8"
|
||
|
}
|
||
|
,{
|
||
|
"testCaseDescription": "javascript-anonymous-parameterless-function-delete-insert-test",
|
||
|
"expectedResult": {
|
||
|
"changes": {
|
||
|
"anonymous-parameterless-function.js": [
|
||
|
{
|
||
|
"span": {
|
||
|
"these": [
|
||
|
{
|
||
|
"start": [
|
||
|
1,
|
||
|
21
|
||
|
],
|
||
|
"name": "anonymous-parameterless-function.js",
|
||
|
"end": [
|
||
|
1,
|
||
|
28
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"start": [
|
||
|
1,
|
||
|
21
|
||
|
],
|
||
|
"name": "anonymous-parameterless-function.js",
|
||
|
"end": [
|
||
|
1,
|
||
|
25
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"summary": "Replaced the 'hello' string with the 'hi' string",
|
||
|
"tag": "JSONSummary"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"errors": {}
|
||
|
},
|
||
|
"filePaths": [
|
||
|
"anonymous-parameterless-function.js"
|
||
|
],
|
||
|
"sha1": "d7a616f801c122aff974bdd825ffe1bb51c5a8e8",
|
||
|
"gitDir": "test/corpus/repos/javascript",
|
||
|
"sha2": "14d2f7d564ac1e8c0d2ca9960c9f42fcaf70f1fa"
|
||
|
}
|
||
|
,{
|
||
|
"testCaseDescription": "javascript-anonymous-parameterless-function-replacement-test",
|
||
|
"expectedResult": {
|
||
|
"changes": {
|
||
|
"anonymous-parameterless-function.js": [
|
||
|
{
|
||
|
"span": {
|
||
|
"these": [
|
||
|
{
|
||
|
"start": [
|
||
|
1,
|
||
|
21
|
||
|
],
|
||
|
"name": "anonymous-parameterless-function.js",
|
||
|
"end": [
|
||
|
1,
|
||
|
25
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"start": [
|
||
|
1,
|
||
|
21
|
||
|
],
|
||
|
"name": "anonymous-parameterless-function.js",
|
||
|
"end": [
|
||
|
1,
|
||
|
28
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"summary": "Replaced the 'hi' string with the 'hello' string",
|
||
|
"tag": "JSONSummary"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"errors": {}
|
||
|
},
|
||
|
"filePaths": [
|
||
|
"anonymous-parameterless-function.js"
|
||
|
],
|
||
|
"sha1": "14d2f7d564ac1e8c0d2ca9960c9f42fcaf70f1fa",
|
||
|
"gitDir": "test/corpus/repos/javascript",
|
||
|
"sha2": "24aaf302c042840e41e709b2d1b4b9310c1f3dac"
|
||
|
}
|
||
|
,{
|
||
|
"testCaseDescription": "javascript-anonymous-parameterless-function-delete-replacement-test",
|
||
|
"expectedResult": {
|
||
|
"changes": {
|
||
|
"anonymous-parameterless-function.js": [
|
||
|
{
|
||
|
"span": {
|
||
|
"this": {
|
||
|
"start": [
|
||
|
1,
|
||
|
1
|
||
|
],
|
||
|
"name": "anonymous-parameterless-function.js",
|
||
|
"end": [
|
||
|
1,
|
||
|
31
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"summary": "Deleted an anonymous() function",
|
||
|
"tag": "JSONSummary"
|
||
|
},
|
||
|
{
|
||
|
"span": {
|
||
|
"this": {
|
||
|
"start": [
|
||
|
2,
|
||
|
1
|
||
|
],
|
||
|
"name": "anonymous-parameterless-function.js",
|
||
|
"end": [
|
||
|
2,
|
||
|
28
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"summary": "Deleted an anonymous() function",
|
||
|
"tag": "JSONSummary"
|
||
|
},
|
||
|
{
|
||
|
"span": {
|
||
|
"that": {
|
||
|
"start": [
|
||
|
2,
|
||
|
1
|
||
|
],
|
||
|
"name": "anonymous-parameterless-function.js",
|
||
|
"end": [
|
||
|
2,
|
||
|
31
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"summary": "Added an anonymous() function",
|
||
|
"tag": "JSONSummary"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"errors": {}
|
||
|
},
|
||
|
"filePaths": [
|
||
|
"anonymous-parameterless-function.js"
|
||
|
],
|
||
|
"sha1": "24aaf302c042840e41e709b2d1b4b9310c1f3dac",
|
||
|
"gitDir": "test/corpus/repos/javascript",
|
||
|
"sha2": "dc90b671f97861fbcd6f3589c51c7d533183fd48"
|
||
|
}
|
||
|
,{
|
||
|
"testCaseDescription": "javascript-anonymous-parameterless-function-delete-test",
|
||
|
"expectedResult": {
|
||
|
"changes": {
|
||
|
"anonymous-parameterless-function.js": [
|
||
|
{
|
||
|
"span": {
|
||
|
"this": {
|
||
|
"start": [
|
||
|
1,
|
||
|
1
|
||
|
],
|
||
|
"name": "anonymous-parameterless-function.js",
|
||
|
"end": [
|
||
|
1,
|
||
|
28
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"summary": "Deleted an anonymous() function",
|
||
|
"tag": "JSONSummary"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"errors": {}
|
||
|
},
|
||
|
"filePaths": [
|
||
|
"anonymous-parameterless-function.js"
|
||
|
],
|
||
|
"sha1": "dc90b671f97861fbcd6f3589c51c7d533183fd48",
|
||
|
"gitDir": "test/corpus/repos/javascript",
|
||
|
"sha2": "40ac908bb69f7662e5fe092a8c3f5af80a5ea195"
|
||
|
}
|
||
|
,{
|
||
|
"testCaseDescription": "javascript-anonymous-parameterless-function-delete-rest-test",
|
||
|
"expectedResult": {
|
||
|
"changes": {
|
||
|
"anonymous-parameterless-function.js": [
|
||
|
{
|
||
|
"span": {
|
||
|
"this": {
|
||
|
"start": [
|
||
|
1,
|
||
|
1
|
||
|
],
|
||
|
"name": "anonymous-parameterless-function.js",
|
||
|
"end": [
|
||
|
1,
|
||
|
31
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"summary": "Deleted an anonymous() function",
|
||
|
"tag": "JSONSummary"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"errors": {}
|
||
|
},
|
||
|
"filePaths": [
|
||
|
"anonymous-parameterless-function.js"
|
||
|
],
|
||
|
"sha1": "40ac908bb69f7662e5fe092a8c3f5af80a5ea195",
|
||
|
"gitDir": "test/corpus/repos/javascript",
|
||
|
"sha2": "a7028eef7c56f7ba5c5dda0faadcfffe205d5a40"
|
||
|
}]
|