1
1
mirror of https://github.com/github/semantic.git synced 2024-12-30 18:36:27 +03:00
semantic/test/corpus/diff-summaries/javascript/arrow-function.json

309 lines
9.7 KiB
JSON
Raw Normal View History

2016-10-11 18:12:20 +03:00
[{
"testCaseDescription": "javascript-arrow-function-insert-test",
"expectedResult": {
"changes": {
"arrow-function.js": [
{
"span": {
"that": {
"start": [
1,
1
],
"name": "arrow-function.js",
"end": [
1,
24
]
}
},
"summary": "Added an anonymous(f, g) function",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"arrow-function.js"
],
2016-10-11 18:26:57 +03:00
"sha1": "292d11c2e4263aedc5c5b54a527d686428f8ddd1",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:26:57 +03:00
"sha2": "6a7893d2e94099cd9fedb01b582e7ad4ff73e89d"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-arrow-function-replacement-insert-test",
"expectedResult": {
"changes": {
"arrow-function.js": [
{
"span": {
"that": {
"start": [
1,
1
],
"name": "arrow-function.js",
"end": [
1,
24
]
}
},
"summary": "Added an anonymous(f, g) function",
"tag": "JSONSummary"
},
{
"span": {
"that": {
"start": [
2,
1
],
"name": "arrow-function.js",
"end": [
2,
24
]
}
},
"summary": "Added an anonymous(f, g) function",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"arrow-function.js"
],
2016-10-11 18:26:57 +03:00
"sha1": "6a7893d2e94099cd9fedb01b582e7ad4ff73e89d",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:26:57 +03:00
"sha2": "227e3fdb0b43676bfc752f04d14dc5c0c318f630"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-arrow-function-delete-insert-test",
"expectedResult": {
"changes": {
"arrow-function.js": [
{
"span": {
"these": [
{
"start": [
1,
20
],
"name": "arrow-function.js",
"end": [
1,
21
]
},
{
"start": [
1,
20
],
"name": "arrow-function.js",
"end": [
1,
21
]
}
]
},
"summary": "Replaced the 'g' identifier with the 'h' identifier",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"arrow-function.js"
],
2016-10-11 18:26:57 +03:00
"sha1": "227e3fdb0b43676bfc752f04d14dc5c0c318f630",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:26:57 +03:00
"sha2": "f093d99e79a285d5a41bb100fb86ff73e104d2fa"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-arrow-function-replacement-test",
"expectedResult": {
"changes": {
"arrow-function.js": [
{
"span": {
"these": [
{
"start": [
1,
20
],
"name": "arrow-function.js",
"end": [
1,
21
]
},
{
"start": [
1,
20
],
"name": "arrow-function.js",
"end": [
1,
21
]
}
]
},
"summary": "Replaced the 'h' identifier with the 'g' identifier",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"arrow-function.js"
],
2016-10-11 18:26:57 +03:00
"sha1": "f093d99e79a285d5a41bb100fb86ff73e104d2fa",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:26:57 +03:00
"sha2": "dfa11dd0f9237b75f84ec26830f0159b15391da9"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-arrow-function-delete-replacement-test",
"expectedResult": {
"changes": {
"arrow-function.js": [
{
"span": {
"this": {
"start": [
1,
1
],
"name": "arrow-function.js",
"end": [
1,
24
]
}
},
"summary": "Deleted an anonymous(f, g) function",
"tag": "JSONSummary"
},
{
"span": {
"this": {
"start": [
2,
1
],
"name": "arrow-function.js",
"end": [
2,
24
]
}
},
"summary": "Deleted an anonymous(f, g) function",
"tag": "JSONSummary"
},
{
"span": {
"that": {
"start": [
2,
1
],
"name": "arrow-function.js",
"end": [
2,
24
]
}
},
"summary": "Added an anonymous(f, g) function",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"arrow-function.js"
],
2016-10-11 18:26:57 +03:00
"sha1": "dfa11dd0f9237b75f84ec26830f0159b15391da9",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:26:57 +03:00
"sha2": "c0519b34f3408fc82a1f2baa7b7b48dbde82ead0"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-arrow-function-delete-test",
"expectedResult": {
"changes": {
"arrow-function.js": [
{
"span": {
"this": {
"start": [
1,
1
],
"name": "arrow-function.js",
"end": [
1,
24
]
}
},
"summary": "Deleted an anonymous(f, g) function",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"arrow-function.js"
],
2016-10-11 18:26:57 +03:00
"sha1": "c0519b34f3408fc82a1f2baa7b7b48dbde82ead0",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:26:57 +03:00
"sha2": "e03369240a62811722d7d08730e3302d97c22f3f"
2016-10-11 18:12:20 +03:00
}
,{
"testCaseDescription": "javascript-arrow-function-delete-rest-test",
"expectedResult": {
"changes": {
"arrow-function.js": [
{
"span": {
"this": {
"start": [
1,
1
],
"name": "arrow-function.js",
"end": [
1,
24
]
}
},
"summary": "Deleted an anonymous(f, g) function",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"arrow-function.js"
],
2016-10-11 18:26:57 +03:00
"sha1": "e03369240a62811722d7d08730e3302d97c22f3f",
2016-10-11 18:12:20 +03:00
"gitDir": "test/corpus/repos/javascript",
2016-10-11 18:26:57 +03:00
"sha2": "ea881b604fbd6a7bff63837b413fbb2878da9525"
2016-10-11 18:12:20 +03:00
}]