1
1
mirror of https://github.com/github/semantic.git synced 2024-12-20 21:31:48 +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-14 21:40:07 +03:00
"sha1": "45d448bfd33f1ae99cfb456e0406aacf8a062bae",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-14 21:40:07 +03:00
"sha2": "aec6e727561aee130c90b90fa6540d97832a3482"
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-14 21:40:07 +03:00
"sha1": "aec6e727561aee130c90b90fa6540d97832a3482",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-14 21:40:07 +03:00
"sha2": "fb1355e502b99d6a88903728f06d89d59304a7bd"
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-14 21:40:07 +03:00
"sha1": "fb1355e502b99d6a88903728f06d89d59304a7bd",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-14 21:40:07 +03:00
"sha2": "3eab315971fa3f78f733c025c8beb05cb82457c2"
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-14 21:40:07 +03:00
"sha1": "3eab315971fa3f78f733c025c8beb05cb82457c2",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-14 21:40:07 +03:00
"sha2": "432758e6abd2f308e1944d48ec1cefbd4f8ba924"
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-14 21:40:07 +03:00
"sha1": "432758e6abd2f308e1944d48ec1cefbd4f8ba924",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-14 21:40:07 +03:00
"sha2": "ac22e7129f5ddecf730ac4431dd41877aa8dbfd2"
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-14 21:40:07 +03:00
"sha1": "ac22e7129f5ddecf730ac4431dd41877aa8dbfd2",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-14 21:40:07 +03:00
"sha2": "1fd170dc95296ebcf67244deb59a3a0b363a0d4a"
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-14 21:40:07 +03:00
"sha1": "1fd170dc95296ebcf67244deb59a3a0b363a0d4a",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-14 21:40:07 +03:00
"sha2": "c75fb9316ad39a4eb2d3eb70fa688a22450f507d"
2016-10-11 18:12:20 +03:00
}]