mirror of
https://github.com/github/semantic.git
synced 2024-12-23 23:11:50 +03:00
287 lines
8.7 KiB
JSON
287 lines
8.7 KiB
JSON
[{
|
|
"testCaseDescription": "javascript-bitwise-operator-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"bitwise-operator.js": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'i >> j' bitwise operator"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"bitwise-operator.js"
|
|
],
|
|
"sha1": "e3f833dfc51fcd9200d66c5e81cdf2de69abb9d8",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "423c60dc65ec3e37768c8eb392aca6a2640444d2"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-bitwise-operator-replacement-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"bitwise-operator.js": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'i >> k' bitwise operator"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'i >> j' bitwise operator"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"bitwise-operator.js"
|
|
],
|
|
"sha1": "423c60dc65ec3e37768c8eb392aca6a2640444d2",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "35d49d77da2b8cb4bb2ae383e91ae64a7fb72e37"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-bitwise-operator-delete-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"bitwise-operator.js": [
|
|
{
|
|
"span": {
|
|
"replace": [
|
|
{
|
|
"start": [
|
|
1,
|
|
6
|
|
],
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
},
|
|
{
|
|
"start": [
|
|
1,
|
|
6
|
|
],
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"summary": "Replaced the 'k' identifier with the 'j' identifier"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"bitwise-operator.js"
|
|
],
|
|
"sha1": "35d49d77da2b8cb4bb2ae383e91ae64a7fb72e37",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "728541b362df53dee75728e4bc777881024393b8"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-bitwise-operator-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"bitwise-operator.js": [
|
|
{
|
|
"span": {
|
|
"replace": [
|
|
{
|
|
"start": [
|
|
1,
|
|
6
|
|
],
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
},
|
|
{
|
|
"start": [
|
|
1,
|
|
6
|
|
],
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"summary": "Replaced the 'j' identifier with the 'k' identifier"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"bitwise-operator.js"
|
|
],
|
|
"sha1": "728541b362df53dee75728e4bc777881024393b8",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "0c5fc4cfc696579b6f9bf2d81c2e998396be0a6d"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-bitwise-operator-delete-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"bitwise-operator.js": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'i >> k' bitwise operator"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'i >> j' bitwise operator"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'i >> k' bitwise operator"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"bitwise-operator.js"
|
|
],
|
|
"sha1": "0c5fc4cfc696579b6f9bf2d81c2e998396be0a6d",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "5ec38c4f7db4d5c7539ce16bf00cb97cc3eafc6d"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-bitwise-operator-delete-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"bitwise-operator.js": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'i >> j' bitwise operator"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"bitwise-operator.js"
|
|
],
|
|
"sha1": "5ec38c4f7db4d5c7539ce16bf00cb97cc3eafc6d",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "8502f6d6266a4e72c44a0abe73d11521e36eeabd"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-bitwise-operator-delete-rest-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"bitwise-operator.js": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
7
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'i >> k' bitwise operator"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"bitwise-operator.js"
|
|
],
|
|
"sha1": "8502f6d6266a4e72c44a0abe73d11521e36eeabd",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "e6555d14408de30d90a7b79e4d091182ed784144"
|
|
}]
|