mirror of
https://github.com/github/semantic.git
synced 2024-12-21 22:01:46 +03:00
309 lines
9.7 KiB
JSON
309 lines
9.7 KiB
JSON
[{
|
|
"testCaseDescription": "javascript-void-operator-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"void-operator.js": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "void-operator.js",
|
|
"end": [
|
|
1,
|
|
9
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'void b()' operator",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"void-operator.js"
|
|
],
|
|
"sha1": "9b9215fdd0036d2a74bfc6a6c4b43187e3ad3ef8",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "88f904cc009da2f43118249073884d11224bf555"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-void-operator-replacement-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"void-operator.js": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "void-operator.js",
|
|
"end": [
|
|
1,
|
|
9
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'void c()' operator",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"name": "void-operator.js",
|
|
"end": [
|
|
2,
|
|
9
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'void b()' operator",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"void-operator.js"
|
|
],
|
|
"sha1": "88f904cc009da2f43118249073884d11224bf555",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "65a805f7fe2111b798cc226fbf085c406fb00126"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-void-operator-delete-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"void-operator.js": [
|
|
{
|
|
"span": {
|
|
"replace": [
|
|
{
|
|
"start": [
|
|
1,
|
|
6
|
|
],
|
|
"name": "void-operator.js",
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
},
|
|
{
|
|
"start": [
|
|
1,
|
|
6
|
|
],
|
|
"name": "void-operator.js",
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"summary": "Replaced the 'c' identifier with the 'b' identifier in the b() function call",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"void-operator.js"
|
|
],
|
|
"sha1": "65a805f7fe2111b798cc226fbf085c406fb00126",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "f099f306c71ccab2f86105d2f2d9a9d1ce6211b7"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-void-operator-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"void-operator.js": [
|
|
{
|
|
"span": {
|
|
"replace": [
|
|
{
|
|
"start": [
|
|
1,
|
|
6
|
|
],
|
|
"name": "void-operator.js",
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
},
|
|
{
|
|
"start": [
|
|
1,
|
|
6
|
|
],
|
|
"name": "void-operator.js",
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"summary": "Replaced the 'b' identifier with the 'c' identifier in the c() function call",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"void-operator.js"
|
|
],
|
|
"sha1": "f099f306c71ccab2f86105d2f2d9a9d1ce6211b7",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "c5c1f0f74dee37333fdd1202752d9bea669d1bcc"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-void-operator-delete-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"void-operator.js": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "void-operator.js",
|
|
"end": [
|
|
1,
|
|
9
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'void c()' operator",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"name": "void-operator.js",
|
|
"end": [
|
|
2,
|
|
9
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'void b()' operator",
|
|
"tag": "JSONSummary"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"name": "void-operator.js",
|
|
"end": [
|
|
2,
|
|
9
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'void c()' operator",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"void-operator.js"
|
|
],
|
|
"sha1": "c5c1f0f74dee37333fdd1202752d9bea669d1bcc",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "db4b02eb917d57894ba5712873b4cad0d5741cbc"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-void-operator-delete-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"void-operator.js": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "void-operator.js",
|
|
"end": [
|
|
1,
|
|
9
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'void b()' operator",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"void-operator.js"
|
|
],
|
|
"sha1": "db4b02eb917d57894ba5712873b4cad0d5741cbc",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "b09908d0eaf50a489bab70fcd8a734a2553f97e8"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-void-operator-delete-rest-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"void-operator.js": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"name": "void-operator.js",
|
|
"end": [
|
|
1,
|
|
9
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'void c()' operator",
|
|
"tag": "JSONSummary"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"void-operator.js"
|
|
],
|
|
"sha1": "b09908d0eaf50a489bab70fcd8a734a2553f97e8",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "7a5a7e14fdfb56a4dae67672a83aceb49d90f6bf"
|
|
}]
|