1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 15:35:14 +03:00
semantic/test/corpus/diff-summaries/javascript/anonymous-parameterless-function.json

287 lines
9.0 KiB
JSON
Raw Normal View History

2016-10-11 18:12:20 +03:00
[{
"testCaseDescription": "javascript-anonymous-parameterless-function-insert-test",
"expectedResult": {
"changes": {
"anonymous-parameterless-function.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
28
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Added an anonymous() function"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"anonymous-parameterless-function.js"
],
2016-10-28 04:44:36 +03:00
"sha1": "18c8a8b2f5c52c3ee3d093cb9bcde8a6e986effb",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-28 04:44:36 +03:00
"sha2": "1022adff8ba62741b71da1a5909b45ca517c56c5"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-anonymous-parameterless-function-replacement-insert-test",
"expectedResult": {
"changes": {
"anonymous-parameterless-function.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
31
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Added an anonymous() function"
2016-10-11 18:12:20 +03:00
},
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
2,
1
],
"end": [
2,
28
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Added an anonymous() function"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"anonymous-parameterless-function.js"
],
2016-10-28 04:44:36 +03:00
"sha1": "1022adff8ba62741b71da1a5909b45ca517c56c5",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-28 04:44:36 +03:00
"sha2": "6c5abe6d4e5fe52e319f2cbd9d0696455d81da1f"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-anonymous-parameterless-function-delete-insert-test",
"expectedResult": {
"changes": {
"anonymous-parameterless-function.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"replace": [
2016-10-11 18:12:20 +03:00
{
"start": [
1,
21
],
"end": [
1,
28
]
},
{
"start": [
1,
21
],
"end": [
1,
25
]
}
]
},
2016-10-11 23:17:34 +03:00
"summary": "Replaced the 'hello' string with the 'hi' string"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"anonymous-parameterless-function.js"
],
2016-10-28 04:44:36 +03:00
"sha1": "6c5abe6d4e5fe52e319f2cbd9d0696455d81da1f",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-28 04:44:36 +03:00
"sha2": "131a9b730919bf6e7e12eef0ec8c6fc81c0547e8"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-anonymous-parameterless-function-replacement-test",
"expectedResult": {
"changes": {
"anonymous-parameterless-function.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"replace": [
2016-10-11 18:12:20 +03:00
{
"start": [
1,
21
],
"end": [
1,
25
]
},
{
"start": [
1,
21
],
"end": [
1,
28
]
}
]
},
2016-10-11 23:17:34 +03:00
"summary": "Replaced the 'hi' string with the 'hello' string"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"anonymous-parameterless-function.js"
],
2016-10-28 04:44:36 +03:00
"sha1": "131a9b730919bf6e7e12eef0ec8c6fc81c0547e8",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-28 04:44:36 +03:00
"sha2": "3544eedcecca322dc178cb6731d1abfe6bfb3e7c"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-anonymous-parameterless-function-delete-replacement-test",
"expectedResult": {
"changes": {
"anonymous-parameterless-function.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
31
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Deleted an anonymous() function"
2016-10-11 18:12:20 +03:00
},
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
2,
1
],
"end": [
2,
28
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Deleted an anonymous() function"
2016-10-11 18:12:20 +03:00
},
{
"span": {
2016-10-11 18:54:47 +03:00
"insert": {
2016-10-11 18:12:20 +03:00
"start": [
2,
1
],
"end": [
2,
31
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Added an anonymous() function"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"anonymous-parameterless-function.js"
],
2016-10-28 04:44:36 +03:00
"sha1": "3544eedcecca322dc178cb6731d1abfe6bfb3e7c",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-28 04:44:36 +03:00
"sha2": "3f8e155dc3e16b950b24d81955ffec41aa21aae4"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-anonymous-parameterless-function-delete-test",
"expectedResult": {
"changes": {
"anonymous-parameterless-function.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
28
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Deleted an anonymous() function"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"anonymous-parameterless-function.js"
],
2016-10-28 04:44:36 +03:00
"sha1": "3f8e155dc3e16b950b24d81955ffec41aa21aae4",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-28 04:44:36 +03:00
"sha2": "4516cebe6bed10be40d0e3bbe17d894eaeadb895"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-anonymous-parameterless-function-delete-rest-test",
"expectedResult": {
"changes": {
"anonymous-parameterless-function.js": [
{
"span": {
2016-10-11 18:54:47 +03:00
"delete": {
2016-10-11 18:12:20 +03:00
"start": [
1,
1
],
"end": [
1,
31
]
}
},
2016-10-11 23:17:34 +03:00
"summary": "Deleted an anonymous() function"
2016-10-11 18:12:20 +03:00
}
]
},
"errors": {}
},
"filePaths": [
"anonymous-parameterless-function.js"
],
2016-10-28 04:44:36 +03:00
"sha1": "4516cebe6bed10be40d0e3bbe17d894eaeadb895",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-28 04:44:36 +03:00
"sha2": "d76cf2078283facb69adb3aeca598008f617f4d6"
2016-10-11 18:12:20 +03:00
}]