1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 23:11:50 +03:00
semantic/test/corpus/diff-summaries/ruby/yield.json
2016-10-27 10:07:24 -07:00

263 lines
7.4 KiB
JSON

[{
"testCaseDescription": "ruby-yield-insert-test",
"expectedResult": {
"changes": {
"yield.rb": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
10
]
}
},
"summary": "Added the 'foo' yield statement"
}
]
},
"errors": {}
},
"filePaths": [
"yield.rb"
],
"sha1": "e2435e46d6dc96b118326f80c48dc9e8289f7a5d",
"gitDir": "test/corpus/repos/ruby",
"sha2": "340d2356ad5fbf4dfbe5b6b6595a775b05245a3b"
}
,{
"testCaseDescription": "ruby-yield-replacement-insert-test",
"expectedResult": {
"changes": {
"yield.rb": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
6
]
}
},
"summary": "Added the 'empty' yield statement"
},
{
"span": {
"insert": {
"start": [
2,
1
],
"end": [
2,
10
]
}
},
"summary": "Added the 'foo' yield statement"
}
]
},
"errors": {}
},
"filePaths": [
"yield.rb"
],
"sha1": "340d2356ad5fbf4dfbe5b6b6595a775b05245a3b",
"gitDir": "test/corpus/repos/ruby",
"sha2": "1502e10ceeeb8e28cb4ae8578ddb3adde0e46b2a"
}
,{
"testCaseDescription": "ruby-yield-delete-insert-test",
"expectedResult": {
"changes": {
"yield.rb": [
{
"span": {
"insert": {
"start": [
1,
7
],
"end": [
1,
10
]
}
},
"summary": "Added the 'foo' identifier"
}
]
},
"errors": {}
},
"filePaths": [
"yield.rb"
],
"sha1": "1502e10ceeeb8e28cb4ae8578ddb3adde0e46b2a",
"gitDir": "test/corpus/repos/ruby",
"sha2": "207a3ba17791f553465852dc522f8e3dcf796f2e"
}
,{
"testCaseDescription": "ruby-yield-replacement-test",
"expectedResult": {
"changes": {
"yield.rb": [
{
"span": {
"delete": {
"start": [
1,
7
],
"end": [
1,
10
]
}
},
"summary": "Deleted the 'foo' identifier"
}
]
},
"errors": {}
},
"filePaths": [
"yield.rb"
],
"sha1": "207a3ba17791f553465852dc522f8e3dcf796f2e",
"gitDir": "test/corpus/repos/ruby",
"sha2": "56df673250d09227fc07e0cc2871ebb01d3c223f"
}
,{
"testCaseDescription": "ruby-yield-delete-replacement-test",
"expectedResult": {
"changes": {
"yield.rb": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
6
]
}
},
"summary": "Deleted the 'empty' yield statement"
},
{
"span": {
"delete": {
"start": [
2,
1
],
"end": [
2,
10
]
}
},
"summary": "Deleted the 'foo' yield statement"
},
{
"span": {
"insert": {
"start": [
2,
1
],
"end": [
2,
6
]
}
},
"summary": "Added the 'empty' yield statement"
}
]
},
"errors": {}
},
"filePaths": [
"yield.rb"
],
"sha1": "56df673250d09227fc07e0cc2871ebb01d3c223f",
"gitDir": "test/corpus/repos/ruby",
"sha2": "607c840ee5cfc008cf809e6c041f7dfdf64d1798"
}
,{
"testCaseDescription": "ruby-yield-delete-test",
"expectedResult": {
"changes": {
"yield.rb": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
10
]
}
},
"summary": "Deleted the 'foo' yield statement"
}
]
},
"errors": {}
},
"filePaths": [
"yield.rb"
],
"sha1": "607c840ee5cfc008cf809e6c041f7dfdf64d1798",
"gitDir": "test/corpus/repos/ruby",
"sha2": "06a3a7f05bbb9cddc351bb66655adf32f7f99bc0"
}
,{
"testCaseDescription": "ruby-yield-delete-rest-test",
"expectedResult": {
"changes": {
"yield.rb": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
6
]
}
},
"summary": "Deleted the 'empty' yield statement"
}
]
},
"errors": {}
},
"filePaths": [
"yield.rb"
],
"sha1": "06a3a7f05bbb9cddc351bb66655adf32f7f99bc0",
"gitDir": "test/corpus/repos/ruby",
"sha2": "527e349d0690325c5a85363b1a551da9ad74af48"
}]