1
1
mirror of https://github.com/github/semantic.git synced 2024-12-26 00:12:29 +03:00
semantic/test/corpus/diff-summaries/javascript/ternary.json
Rick Winfrey 329ce63a8e ++tests
2016-10-11 11:07:57 -05:00

125 lines
3.4 KiB
JSON

[{
"testCaseDescription": "javascript-ternary-insert-test",
"expectedResult": {
"changes": {
"ternary.js": [
"Added the 'condition' ternary expression"
]
},
"errors": {}
},
"filePaths": [
"ternary.js"
],
"sha1": "0b57e3c9e5f144a1cce790a12432819561d9d3d3",
"gitDir": "test/corpus/repos/javascript",
"sha2": "f5efaa42bad7ca2cdde01ab615ab4798b4ee5be8"
}
,{
"testCaseDescription": "javascript-ternary-replacement-insert-test",
"expectedResult": {
"changes": {
"ternary.js": [
"Added the 'x.y' assignment",
"Added the 'condition' ternary expression"
]
},
"errors": {}
},
"filePaths": [
"ternary.js"
],
"sha1": "f5efaa42bad7ca2cdde01ab615ab4798b4ee5be8",
"gitDir": "test/corpus/repos/javascript",
"sha2": "cf05224706f16d817159a2a1f8879e952f4eea7b"
}
,{
"testCaseDescription": "javascript-ternary-delete-insert-test",
"expectedResult": {
"changes": {
"ternary.js": [
"Added the 'condition' ternary expression",
"Deleted the 'x.y' assignment"
]
},
"errors": {}
},
"filePaths": [
"ternary.js"
],
"sha1": "cf05224706f16d817159a2a1f8879e952f4eea7b",
"gitDir": "test/corpus/repos/javascript",
"sha2": "f5c9e30a15bdd3584010288ddc03d56250cca120"
}
,{
"testCaseDescription": "javascript-ternary-replacement-test",
"expectedResult": {
"changes": {
"ternary.js": [
"Added the 'x.y' assignment",
"Deleted the 'condition' ternary expression"
]
},
"errors": {}
},
"filePaths": [
"ternary.js"
],
"sha1": "f5c9e30a15bdd3584010288ddc03d56250cca120",
"gitDir": "test/corpus/repos/javascript",
"sha2": "fbe27b1ffc5ac5e9af355ed01a212caa8a7e15ea"
}
,{
"testCaseDescription": "javascript-ternary-delete-replacement-test",
"expectedResult": {
"changes": {
"ternary.js": [
"Deleted the 'x.y' assignment",
"Deleted the 'condition' ternary expression",
"Added the 'x.y' assignment"
]
},
"errors": {}
},
"filePaths": [
"ternary.js"
],
"sha1": "fbe27b1ffc5ac5e9af355ed01a212caa8a7e15ea",
"gitDir": "test/corpus/repos/javascript",
"sha2": "7def2175d2590de16ad09041c44816612e9b7ec1"
}
,{
"testCaseDescription": "javascript-ternary-delete-test",
"expectedResult": {
"changes": {
"ternary.js": [
"Deleted the 'condition' ternary expression"
]
},
"errors": {}
},
"filePaths": [
"ternary.js"
],
"sha1": "7def2175d2590de16ad09041c44816612e9b7ec1",
"gitDir": "test/corpus/repos/javascript",
"sha2": "2cd8b4a647361be100257e21017c12d9064e1d1f"
}
,{
"testCaseDescription": "javascript-ternary-delete-rest-test",
"expectedResult": {
"changes": {
"ternary.js": [
"Deleted the 'x.y' assignment"
]
},
"errors": {}
},
"filePaths": [
"ternary.js"
],
"sha1": "2cd8b4a647361be100257e21017c12d9064e1d1f",
"gitDir": "test/corpus/repos/javascript",
"sha2": "c035407749e02f5dee9c3947118cd25095b28446"
}]