1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 23:42:31 +03:00
semantic/test/corpus/diff-summaries/javascript/boolean-operator.json
2016-11-01 10:03:25 -05:00

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": "0f277a98ca88f6c1e02d2811fa15b32c1909edf0",
"gitDir": "test/corpus/repos/javascript",
"sha2": "d039a78308a35a509cecb57ba239162e939925ae"
}
,{
"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": "d039a78308a35a509cecb57ba239162e939925ae",
"gitDir": "test/corpus/repos/javascript",
"sha2": "9f2ce7d364ba8f68e4aaf3f2a1bc525afb0fbcfc"
}
,{
"testCaseDescription": "javascript-boolean-operator-delete-insert-test",
"expectedResult": {
"changes": {},
"errors": {}
},
"filePaths": [
"boolean-operator.js"
],
"sha1": "9f2ce7d364ba8f68e4aaf3f2a1bc525afb0fbcfc",
"gitDir": "test/corpus/repos/javascript",
"sha2": "9f9d0f34d19c5335218140e896e56cca5483085c"
}
,{
"testCaseDescription": "javascript-boolean-operator-replacement-test",
"expectedResult": {
"changes": {},
"errors": {}
},
"filePaths": [
"boolean-operator.js"
],
"sha1": "9f9d0f34d19c5335218140e896e56cca5483085c",
"gitDir": "test/corpus/repos/javascript",
"sha2": "b7735561df1e286eb16fbd6d6f12c40f33f0d884"
}
,{
"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": "b7735561df1e286eb16fbd6d6f12c40f33f0d884",
"gitDir": "test/corpus/repos/javascript",
"sha2": "4209ac85ff7d9fdbe9ac2d309fefec0af45d0702"
}
,{
"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": "4209ac85ff7d9fdbe9ac2d309fefec0af45d0702",
"gitDir": "test/corpus/repos/javascript",
"sha2": "2ee56bee510724715c14244f51c38c55b13ed274"
}
,{
"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": "2ee56bee510724715c14244f51c38c55b13ed274",
"gitDir": "test/corpus/repos/javascript",
"sha2": "761fc16b7840013a3a30a594193222af2c710535"
}]