1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 15:35:14 +03:00
semantic/test/corpus/diff-summaries/ruby/lambda-dash-rocket.json

287 lines
8.7 KiB
JSON
Raw Normal View History

2016-10-27 19:24:28 +03:00
[{
"testCaseDescription": "ruby-lambda-dash-rocket-insert-test",
"expectedResult": {
"changes": {
"lambda-dash-rocket.rb": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
4,
2
]
}
},
"summary": "Added an anonymous(a, b, c) function"
}
]
},
"errors": {}
},
"filePaths": [
"lambda-dash-rocket.rb"
],
2016-10-27 22:47:27 +03:00
"sha1": "62543481b723ef2ca3da980c68ee76e640de575b",
2016-10-27 19:24:28 +03:00
"gitDir": "test/corpus/repos/ruby",
2016-10-27 22:47:27 +03:00
"sha2": "dc0bedfa0d54cdebd402a78fc14df2f7671d38cf"
2016-10-27 19:24:28 +03:00
}
,{
"testCaseDescription": "ruby-lambda-dash-rocket-replacement-insert-test",
"expectedResult": {
"changes": {
"lambda-dash-rocket.rb": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
11
]
}
},
"summary": "Added an anonymous() function"
},
{
"span": {
"insert": {
"start": [
2,
1
],
"end": [
5,
2
]
}
},
"summary": "Added an anonymous(a, b, c) function"
}
]
},
"errors": {}
},
"filePaths": [
"lambda-dash-rocket.rb"
],
2016-10-27 22:47:27 +03:00
"sha1": "dc0bedfa0d54cdebd402a78fc14df2f7671d38cf",
2016-10-27 19:24:28 +03:00
"gitDir": "test/corpus/repos/ruby",
2016-10-27 22:47:27 +03:00
"sha2": "ebdec8667562e019e19618770497215c7ed49a2c"
2016-10-27 19:24:28 +03:00
}
,{
"testCaseDescription": "ruby-lambda-dash-rocket-delete-insert-test",
"expectedResult": {
"changes": {
"lambda-dash-rocket.rb": [
{
"span": {
"replace": [
{
"start": [
1,
1
],
"end": [
1,
11
]
},
{
"start": [
1,
1
],
"end": [
4,
2
]
}
]
},
"summary": "Replaced an anonymous() function with an anonymous(a, b, c) function"
}
]
},
"errors": {}
},
"filePaths": [
"lambda-dash-rocket.rb"
],
2016-10-27 22:47:27 +03:00
"sha1": "ebdec8667562e019e19618770497215c7ed49a2c",
2016-10-27 19:24:28 +03:00
"gitDir": "test/corpus/repos/ruby",
2016-10-27 22:47:27 +03:00
"sha2": "d4e5a578e32917f270ab33bb9d56eb5883ff435d"
2016-10-27 19:24:28 +03:00
}
,{
"testCaseDescription": "ruby-lambda-dash-rocket-replacement-test",
"expectedResult": {
"changes": {
"lambda-dash-rocket.rb": [
{
"span": {
"replace": [
{
"start": [
1,
1
],
"end": [
4,
2
]
},
{
"start": [
1,
1
],
"end": [
1,
11
]
}
]
},
"summary": "Replaced an anonymous(a, b, c) function with an anonymous() function"
}
]
},
"errors": {}
},
"filePaths": [
"lambda-dash-rocket.rb"
],
2016-10-27 22:47:27 +03:00
"sha1": "d4e5a578e32917f270ab33bb9d56eb5883ff435d",
2016-10-27 19:24:28 +03:00
"gitDir": "test/corpus/repos/ruby",
2016-10-27 22:47:27 +03:00
"sha2": "1954e4e4fa8106318dd2861f3667f9d45992744e"
2016-10-27 19:24:28 +03:00
}
,{
"testCaseDescription": "ruby-lambda-dash-rocket-delete-replacement-test",
"expectedResult": {
"changes": {
"lambda-dash-rocket.rb": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
11
]
}
},
"summary": "Deleted an anonymous() function"
},
{
"span": {
"delete": {
"start": [
2,
1
],
"end": [
5,
2
]
}
},
"summary": "Deleted an anonymous(a, b, c) function"
},
{
"span": {
"insert": {
"start": [
5,
1
],
"end": [
5,
11
]
}
},
"summary": "Added an anonymous() function"
}
]
},
"errors": {}
},
"filePaths": [
"lambda-dash-rocket.rb"
],
2016-10-27 22:47:27 +03:00
"sha1": "1954e4e4fa8106318dd2861f3667f9d45992744e",
2016-10-27 19:24:28 +03:00
"gitDir": "test/corpus/repos/ruby",
2016-10-27 22:47:27 +03:00
"sha2": "b4b68599866930171ffa309ad2b13760b999efb1"
2016-10-27 19:24:28 +03:00
}
,{
"testCaseDescription": "ruby-lambda-dash-rocket-delete-test",
"expectedResult": {
"changes": {
"lambda-dash-rocket.rb": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
4,
2
]
}
},
"summary": "Deleted an anonymous(a, b, c) function"
}
]
},
"errors": {}
},
"filePaths": [
"lambda-dash-rocket.rb"
],
2016-10-27 22:47:27 +03:00
"sha1": "b4b68599866930171ffa309ad2b13760b999efb1",
2016-10-27 19:24:28 +03:00
"gitDir": "test/corpus/repos/ruby",
2016-10-27 22:47:27 +03:00
"sha2": "8acd317af28284989177f0b9554b54adcc671fbf"
2016-10-27 19:24:28 +03:00
}
,{
"testCaseDescription": "ruby-lambda-dash-rocket-delete-rest-test",
"expectedResult": {
"changes": {
"lambda-dash-rocket.rb": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
11
]
}
},
"summary": "Deleted an anonymous() function"
}
]
},
"errors": {}
},
"filePaths": [
"lambda-dash-rocket.rb"
],
2016-10-27 22:47:27 +03:00
"sha1": "8acd317af28284989177f0b9554b54adcc671fbf",
2016-10-27 19:24:28 +03:00
"gitDir": "test/corpus/repos/ruby",
2016-10-27 22:47:27 +03:00
"sha2": "aa0d20f0d3813c038e73fea028a02a8de3ac01ef"
2016-10-27 19:24:28 +03:00
}]