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 12:52:26 -04:00

209 lines
6.3 KiB
JSON

[{
"testCaseDescription": "javascript-boolean-operator-insert-test",
"expectedResult": {
"changes": {
"boolean-operator.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"filepath": "boolean-operator.js",
"end": [
1,
7
]
}
},
"summary": "Added the 'i || j' boolean operator",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"boolean-operator.js"
],
"sha1": "30525e7478269d5b5412bfef35746e7a3e3800f6",
"gitDir": "test/corpus/repos/javascript",
"sha2": "57ebb0e5f08ff3b101191a8eb240204030942a34"
}
,{
"testCaseDescription": "javascript-boolean-operator-replacement-insert-test",
"expectedResult": {
"changes": {
"boolean-operator.js": [
{
"span": {
"insert": {
"start": [
1,
1
],
"filepath": "boolean-operator.js",
"end": [
1,
7
]
}
},
"summary": "Added the 'i && j' boolean operator",
"tag": "JSONSummary"
},
{
"span": {
"insert": {
"start": [
2,
1
],
"filepath": "boolean-operator.js",
"end": [
2,
7
]
}
},
"summary": "Added the 'i || j' boolean operator",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"boolean-operator.js"
],
"sha1": "57ebb0e5f08ff3b101191a8eb240204030942a34",
"gitDir": "test/corpus/repos/javascript",
"sha2": "70ffeaeafa290d1a07f30c05a4f98c66ecfc27b3"
}
,{
"testCaseDescription": "javascript-boolean-operator-delete-insert-test",
"expectedResult": {
"changes": {},
"errors": {}
},
"filePaths": [
"boolean-operator.js"
],
"sha1": "70ffeaeafa290d1a07f30c05a4f98c66ecfc27b3",
"gitDir": "test/corpus/repos/javascript",
"sha2": "f6c30aabfcb6c3edd072326c703ccfdeafe48d4b"
}
,{
"testCaseDescription": "javascript-boolean-operator-replacement-test",
"expectedResult": {
"changes": {},
"errors": {}
},
"filePaths": [
"boolean-operator.js"
],
"sha1": "f6c30aabfcb6c3edd072326c703ccfdeafe48d4b",
"gitDir": "test/corpus/repos/javascript",
"sha2": "9c8103da0a53aa68386529151d94bc3e877733f0"
}
,{
"testCaseDescription": "javascript-boolean-operator-delete-replacement-test",
"expectedResult": {
"changes": {
"boolean-operator.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"filepath": "boolean-operator.js",
"end": [
1,
7
]
}
},
"summary": "Deleted the 'i && j' boolean operator",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"boolean-operator.js"
],
"sha1": "9c8103da0a53aa68386529151d94bc3e877733f0",
"gitDir": "test/corpus/repos/javascript",
"sha2": "339aacd26dddf1450078fc68a13384757c9da3af"
}
,{
"testCaseDescription": "javascript-boolean-operator-delete-test",
"expectedResult": {
"changes": {
"boolean-operator.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"filepath": "boolean-operator.js",
"end": [
1,
7
]
}
},
"summary": "Deleted the 'i || j' boolean operator",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"boolean-operator.js"
],
"sha1": "339aacd26dddf1450078fc68a13384757c9da3af",
"gitDir": "test/corpus/repos/javascript",
"sha2": "56b907aabebbd480b6e795ef64c688f5debf68f6"
}
,{
"testCaseDescription": "javascript-boolean-operator-delete-rest-test",
"expectedResult": {
"changes": {
"boolean-operator.js": [
{
"span": {
"delete": {
"start": [
1,
1
],
"filepath": "boolean-operator.js",
"end": [
1,
7
]
}
},
"summary": "Deleted the 'i && j' boolean operator",
"tag": "JSONSummary"
}
]
},
"errors": {}
},
"filePaths": [
"boolean-operator.js"
],
"sha1": "56b907aabebbd480b6e795ef64c688f5debf68f6",
"gitDir": "test/corpus/repos/javascript",
"sha2": "9fa09a55dece8769da1ceb27c7799cf9ad731cd7"
}]