1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 23:42:31 +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"
],
"sha1": "95b925b0c2f3809cd40a8ed6b4a72469e4242a58",
2016-10-27 19:24:28 +03:00
"gitDir": "test/corpus/repos/ruby",
"sha2": "ea68b56773dba38366b93ce33adefd6b32396367"
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"
],
"sha1": "ea68b56773dba38366b93ce33adefd6b32396367",
2016-10-27 19:24:28 +03:00
"gitDir": "test/corpus/repos/ruby",
"sha2": "73b32f67d2f610068de29f771eaf79757c0b4972"
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"
],
"sha1": "73b32f67d2f610068de29f771eaf79757c0b4972",
2016-10-27 19:24:28 +03:00
"gitDir": "test/corpus/repos/ruby",
"sha2": "0357ca4d3a60399a2b1aa8c481427994671130ee"
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"
],
"sha1": "0357ca4d3a60399a2b1aa8c481427994671130ee",
2016-10-27 19:24:28 +03:00
"gitDir": "test/corpus/repos/ruby",
"sha2": "c4ba1bea179b05c1da85251a62f6652f7ca01ec5"
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"
],
"sha1": "c4ba1bea179b05c1da85251a62f6652f7ca01ec5",
2016-10-27 19:24:28 +03:00
"gitDir": "test/corpus/repos/ruby",
"sha2": "fe632d1e1831b425144aa91992103d48b4ad88e5"
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"
],
"sha1": "fe632d1e1831b425144aa91992103d48b4ad88e5",
2016-10-27 19:24:28 +03:00
"gitDir": "test/corpus/repos/ruby",
"sha2": "14a15f1a3496c66f73b6d0bcc876fe557db1fe6a"
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"
],
"sha1": "14a15f1a3496c66f73b6d0bcc876fe557db1fe6a",
2016-10-27 19:24:28 +03:00
"gitDir": "test/corpus/repos/ruby",
"sha2": "deb8280b0fedf14c0a784f2994a0f7042771540e"
2016-10-27 19:24:28 +03:00
}]