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-31 23:14:58 +03:00
"sha1": "6c783d6f426f41a4de5d6cf3224ffa9d09e0f06a",
2016-10-27 19:24:28 +03:00
"gitDir": "test/corpus/repos/ruby",
2016-10-31 23:14:58 +03:00
"sha2": "8a1fe8d62097990b764f71ce1d589cb3c488dd3d"
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-31 23:14:58 +03:00
"sha1": "8a1fe8d62097990b764f71ce1d589cb3c488dd3d",
2016-10-27 19:24:28 +03:00
"gitDir": "test/corpus/repos/ruby",
2016-10-31 23:14:58 +03:00
"sha2": "c0a9f4257171ffd7c1711efe5b03939666b4db13"
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-31 23:14:58 +03:00
"sha1": "c0a9f4257171ffd7c1711efe5b03939666b4db13",
2016-10-27 19:24:28 +03:00
"gitDir": "test/corpus/repos/ruby",
2016-10-31 23:14:58 +03:00
"sha2": "3167ed988334ac30a6a939803b05e18935170d07"
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-31 23:14:58 +03:00
"sha1": "3167ed988334ac30a6a939803b05e18935170d07",
2016-10-27 19:24:28 +03:00
"gitDir": "test/corpus/repos/ruby",
2016-10-31 23:14:58 +03:00
"sha2": "1e2d2c7db423fbd3449c64496aec4de935b9df3c"
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-31 23:14:58 +03:00
"sha1": "1e2d2c7db423fbd3449c64496aec4de935b9df3c",
2016-10-27 19:24:28 +03:00
"gitDir": "test/corpus/repos/ruby",
2016-10-31 23:14:58 +03:00
"sha2": "6582452c94bba1b811fcda0d0d600bb05321c320"
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-31 23:14:58 +03:00
"sha1": "6582452c94bba1b811fcda0d0d600bb05321c320",
2016-10-27 19:24:28 +03:00
"gitDir": "test/corpus/repos/ruby",
2016-10-31 23:14:58 +03:00
"sha2": "b31284c37efeb1b5575380593123d557d12147e5"
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-31 23:14:58 +03:00
"sha1": "b31284c37efeb1b5575380593123d557d12147e5",
2016-10-27 19:24:28 +03:00
"gitDir": "test/corpus/repos/ruby",
2016-10-31 23:14:58 +03:00
"sha2": "b351f7b6259512218bee8229d9875a7d9d05918d"
2016-10-27 19:24:28 +03:00
}]