1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 14:54:16 +03:00
semantic/test/corpus/diff-summaries/javascript/boolean-operator.json
2016-10-14 12:19:31 -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": "5ac535331f7c6e2026742e53545ce76770bd30f3",
"gitDir": "test/corpus/repos/javascript",
"sha2": "f4e641288145358937e82afca9a4c72232c201e0"
}
,{
"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": "f4e641288145358937e82afca9a4c72232c201e0",
"gitDir": "test/corpus/repos/javascript",
"sha2": "77a884c918532e1ddcc70b5099899f685118bfc5"
}
,{
"testCaseDescription": "javascript-boolean-operator-delete-insert-test",
"expectedResult": {
"changes": {},
"errors": {}
},
"filePaths": [
"boolean-operator.js"
],
"sha1": "77a884c918532e1ddcc70b5099899f685118bfc5",
"gitDir": "test/corpus/repos/javascript",
"sha2": "852273959471e8ae38343a0c4b4d6727339a9e57"
}
,{
"testCaseDescription": "javascript-boolean-operator-replacement-test",
"expectedResult": {
"changes": {},
"errors": {}
},
"filePaths": [
"boolean-operator.js"
],
"sha1": "852273959471e8ae38343a0c4b4d6727339a9e57",
"gitDir": "test/corpus/repos/javascript",
"sha2": "8a40c8b2bf887c1203c3977f4cb09abce620af9c"
}
,{
"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": "8a40c8b2bf887c1203c3977f4cb09abce620af9c",
"gitDir": "test/corpus/repos/javascript",
"sha2": "f3db14177678647bee4c8f16a91d3eb499286a64"
}
,{
"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": "f3db14177678647bee4c8f16a91d3eb499286a64",
"gitDir": "test/corpus/repos/javascript",
"sha2": "a127d15b263d9b886984ee00fc15698b5f5f779c"
}
,{
"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": "a127d15b263d9b886984ee00fc15698b5f5f779c",
"gitDir": "test/corpus/repos/javascript",
"sha2": "1f4757af9e42772efc1ae6de3c59269c770a4da6"
}]