mirror of
https://github.com/github/semantic.git
synced 2024-12-23 23:11:50 +03:00
197 lines
5.7 KiB
JSON
197 lines
5.7 KiB
JSON
[{
|
|
"testCaseDescription": "javascript-boolean-operator-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"boolean-operator.js": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'i || j' boolean operator"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"boolean-operator.js"
|
|
],
|
|
"sha1": "f18430c0e1b243d84f9119ec7d6109a0dadcb359",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "174360733d084d00b5df70a022f1cb9aebd3d2d9"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-boolean-operator-replacement-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"boolean-operator.js": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'i && j' boolean operator"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'i || j' boolean operator"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"boolean-operator.js"
|
|
],
|
|
"sha1": "174360733d084d00b5df70a022f1cb9aebd3d2d9",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "fe4a53da03bc7ad93f0f96cdb34469ecec073af5"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-boolean-operator-delete-insert-test",
|
|
"expectedResult": {
|
|
"changes": {},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"boolean-operator.js"
|
|
],
|
|
"sha1": "fe4a53da03bc7ad93f0f96cdb34469ecec073af5",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "933e30c46dc9f36210f6fe124ed4163eb2712dac"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-boolean-operator-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"boolean-operator.js"
|
|
],
|
|
"sha1": "933e30c46dc9f36210f6fe124ed4163eb2712dac",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "f728c9c335a59fd7fc244d392edbfdee80b16949"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-boolean-operator-delete-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"boolean-operator.js": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'i && j' boolean operator"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"boolean-operator.js"
|
|
],
|
|
"sha1": "f728c9c335a59fd7fc244d392edbfdee80b16949",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "065e8047e655db0a9857a2f70d4ad453b6c5a0a5"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-boolean-operator-delete-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"boolean-operator.js": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'i || j' boolean operator"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"boolean-operator.js"
|
|
],
|
|
"sha1": "065e8047e655db0a9857a2f70d4ad453b6c5a0a5",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "bf85f6a909b0bc64a50ef24954d1c1bde97ddf2c"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-boolean-operator-delete-rest-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"boolean-operator.js": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'i && j' boolean operator"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"boolean-operator.js"
|
|
],
|
|
"sha1": "bf85f6a909b0bc64a50ef24954d1c1bde97ddf2c",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "e3f833dfc51fcd9200d66c5e81cdf2de69abb9d8"
|
|
}]
|