1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 05:41:54 +03:00
semantic/test/corpus/diff-summaries/javascript/boolean-operator.json
2016-10-11 16:18:26 -04: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": "faaff0e5dd144b090a540e45f9a534c1cceb3ad1",
"gitDir": "test/corpus/repos/javascript",
"sha2": "d6e10ec4014abbcb6b6b338b66eb6f995a232d67"
}
,{
"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": "d6e10ec4014abbcb6b6b338b66eb6f995a232d67",
"gitDir": "test/corpus/repos/javascript",
"sha2": "b09e021bfef5da21754a88b63145c80bc8613308"
}
,{
"testCaseDescription": "javascript-boolean-operator-delete-insert-test",
"expectedResult": {
"changes": {},
"errors": {}
},
"filePaths": [
"boolean-operator.js"
],
"sha1": "b09e021bfef5da21754a88b63145c80bc8613308",
"gitDir": "test/corpus/repos/javascript",
"sha2": "3958808a1800344b293b9bc9d432b68041ff5d87"
}
,{
"testCaseDescription": "javascript-boolean-operator-replacement-test",
"expectedResult": {
"changes": {},
"errors": {}
},
"filePaths": [
"boolean-operator.js"
],
"sha1": "3958808a1800344b293b9bc9d432b68041ff5d87",
"gitDir": "test/corpus/repos/javascript",
"sha2": "1625b72ec355c939829455d5397838e0328e6f39"
}
,{
"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": "1625b72ec355c939829455d5397838e0328e6f39",
"gitDir": "test/corpus/repos/javascript",
"sha2": "a4f53d533f7359d95917a22771bc125f137dd311"
}
,{
"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": "a4f53d533f7359d95917a22771bc125f137dd311",
"gitDir": "test/corpus/repos/javascript",
"sha2": "a1e71d859792a4497b9438fe57d0b17847b53184"
}
,{
"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": "a1e71d859792a4497b9438fe57d0b17847b53184",
"gitDir": "test/corpus/repos/javascript",
"sha2": "e1dc429edadeaaff5ea72c53fefab478501bdc07"
}]