mirror of
https://github.com/github/semantic.git
synced 2024-12-21 13:51:44 +03:00
309 lines
9.2 KiB
JSON
309 lines
9.2 KiB
JSON
[{
|
|
"testCaseDescription": "javascript-number-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"number.js": [
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "number.js",
|
|
"end": [
|
|
1,
|
|
4
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added '101'",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"number.js"
|
|
],
|
|
"sha1": "20b94162d6be612a1c0111cb75ee0f3beadcab6e",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "1761ef1d335d09d579cbe1787558398e4f8d264b"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-number-replacement-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"number.js": [
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "number.js",
|
|
"end": [
|
|
1,
|
|
4
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added '102'",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"name": "number.js",
|
|
"end": [
|
|
2,
|
|
4
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added '101'",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"number.js"
|
|
],
|
|
"sha1": "1761ef1d335d09d579cbe1787558398e4f8d264b",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "6196bff8f4104451020c72765217b3d224951070"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-number-delete-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"number.js": [
|
|
{
|
|
"span": {
|
|
"these": [
|
|
{
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "number.js",
|
|
"end": [
|
|
1,
|
|
4
|
|
]
|
|
},
|
|
{
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "number.js",
|
|
"end": [
|
|
1,
|
|
4
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"summary": "Replaced '102' with '101'",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"number.js"
|
|
],
|
|
"sha1": "6196bff8f4104451020c72765217b3d224951070",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "dc888e9f5129c85c17924e12d47538ae093853c0"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-number-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"number.js": [
|
|
{
|
|
"span": {
|
|
"these": [
|
|
{
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "number.js",
|
|
"end": [
|
|
1,
|
|
4
|
|
]
|
|
},
|
|
{
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "number.js",
|
|
"end": [
|
|
1,
|
|
4
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"summary": "Replaced '101' with '102'",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"number.js"
|
|
],
|
|
"sha1": "dc888e9f5129c85c17924e12d47538ae093853c0",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "ee2939ca49b0baba42dd83ab0361e128c2565d93"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-number-delete-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"number.js": [
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "number.js",
|
|
"end": [
|
|
1,
|
|
4
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted '102'",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"name": "number.js",
|
|
"end": [
|
|
2,
|
|
4
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted '101'",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"that": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"name": "number.js",
|
|
"end": [
|
|
2,
|
|
4
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added '102'",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"number.js"
|
|
],
|
|
"sha1": "ee2939ca49b0baba42dd83ab0361e128c2565d93",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "b1fddfc7e3131549e7150bda348f9dddb963efc8"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-number-delete-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"number.js": [
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "number.js",
|
|
"end": [
|
|
1,
|
|
4
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted '101'",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"number.js"
|
|
],
|
|
"sha1": "b1fddfc7e3131549e7150bda348f9dddb963efc8",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "9bd4606cce2739f6d61c83c3b8045dbdf85874c3"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-number-delete-rest-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"number.js": [
|
|
{
|
|
"span": {
|
|
"this": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "number.js",
|
|
"end": [
|
|
1,
|
|
4
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted '102'",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"number.js"
|
|
],
|
|
"sha1": "9bd4606cce2739f6d61c83c3b8045dbdf85874c3",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "4df21e328803748f18b7cd64862f776a275b1448"
|
|
}]
|