mirror of
https://github.com/github/semantic.git
synced 2024-12-21 05:41:54 +03:00
283 lines
8.5 KiB
JSON
283 lines
8.5 KiB
JSON
[{
|
|
"testCaseDescription": "javascript-array-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"array.js": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"filepath": "array.js",
|
|
"end": [
|
|
1,
|
|
12
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the '[ \"item1\" ]' array",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"array.js"
|
|
],
|
|
"sha1": "17086d6403b7d2b299f9fb62681b786baee0e6bd",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "1acecd849e5ebb797243d4ab053d43a9f249ec75"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-array-replacement-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"array.js": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"filepath": "array.js",
|
|
"end": [
|
|
1,
|
|
21
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the '[ \"item1\", \"item2\" ]' array",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"filepath": "array.js",
|
|
"end": [
|
|
2,
|
|
12
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the '[ \"item1\" ]' array",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"array.js"
|
|
],
|
|
"sha1": "1acecd849e5ebb797243d4ab053d43a9f249ec75",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "8ec642fbb15429c3bad4ce7fcbc8e539ad0b669f"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-array-delete-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"array.js": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
12
|
|
],
|
|
"filepath": "array.js",
|
|
"end": [
|
|
1,
|
|
19
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the \"item2\" string",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"array.js"
|
|
],
|
|
"sha1": "8ec642fbb15429c3bad4ce7fcbc8e539ad0b669f",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "e53fecade391ea96be94a251b3ec03790a63b71b"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-array-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"array.js": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
12
|
|
],
|
|
"filepath": "array.js",
|
|
"end": [
|
|
1,
|
|
19
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the \"item2\" string",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"array.js"
|
|
],
|
|
"sha1": "e53fecade391ea96be94a251b3ec03790a63b71b",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "c5882f5220ba2b16310ee4fb99aa13ee2daa1c31"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-array-delete-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"array.js": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"filepath": "array.js",
|
|
"end": [
|
|
1,
|
|
21
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the '[ \"item1\", \"item2\" ]' array",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"filepath": "array.js",
|
|
"end": [
|
|
2,
|
|
12
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the '[ \"item1\" ]' array",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"filepath": "array.js",
|
|
"end": [
|
|
2,
|
|
21
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the '[ \"item1\", \"item2\" ]' array",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"array.js"
|
|
],
|
|
"sha1": "c5882f5220ba2b16310ee4fb99aa13ee2daa1c31",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "d8513ea06d23b115c1d4414eebe84bed39b3eb8e"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-array-delete-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"array.js": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"filepath": "array.js",
|
|
"end": [
|
|
1,
|
|
12
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the '[ \"item1\" ]' array",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"array.js"
|
|
],
|
|
"sha1": "d8513ea06d23b115c1d4414eebe84bed39b3eb8e",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "6170bb216fc1ced5e9707690e5bbf8a63b33d593"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-array-delete-rest-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"array.js": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"filepath": "array.js",
|
|
"end": [
|
|
1,
|
|
21
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the '[ \"item1\", \"item2\" ]' array",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"array.js"
|
|
],
|
|
"sha1": "6170bb216fc1ced5e9707690e5bbf8a63b33d593",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "b391c180ba171aa1ebfe29dde8a2d4a9caa09424"
|
|
}]
|