1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 23:11:50 +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-11-01 18:03:25 +03:00
"sha1": "9fd0f7aee44dbf83b9a380bad5755081b4246e77",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-11-01 18:03:25 +03:00
"sha2": "3f71749ad94ee55259b0185c358235d8ac903467"
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-11-01 18:03:25 +03:00
"sha1": "3f71749ad94ee55259b0185c358235d8ac903467",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-11-01 18:03:25 +03:00
"sha2": "0863179c63f1167cdfb18c909a4085cc496937f6"
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-11-01 18:03:25 +03:00
"sha1": "0863179c63f1167cdfb18c909a4085cc496937f6",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-11-01 18:03:25 +03:00
"sha2": "694e7e4dbf661db0da87a68db68975fe34fdba3f"
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-11-01 18:03:25 +03:00
"sha1": "694e7e4dbf661db0da87a68db68975fe34fdba3f",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-11-01 18:03:25 +03:00
"sha2": "353eeb99fc286d0683f1d698a8f6212ce4699acd"
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-11-01 18:03:25 +03:00
"sha1": "353eeb99fc286d0683f1d698a8f6212ce4699acd",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-11-01 18:03:25 +03:00
"sha2": "9862380b35add3763257a9f558bf4ff02427d9cf"
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-11-01 18:03:25 +03:00
"sha1": "9862380b35add3763257a9f558bf4ff02427d9cf",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-11-01 18:03:25 +03:00
"sha2": "e42905606a9100ef0e06cb728b265e6d772e9a9f"
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-11-01 18:03:25 +03:00
"sha1": "e42905606a9100ef0e06cb728b265e6d772e9a9f",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-11-01 18:03:25 +03:00
"sha2": "8662f58f1d7ce21fddcefecae990742a5d1398dc"
2016-10-11 18:12:20 +03:00
}]