mirror of
https://github.com/github/semantic.git
synced 2024-12-23 23:11:50 +03:00
227 lines
6.3 KiB
JSON
227 lines
6.3 KiB
JSON
[{
|
|
"testCaseDescription": "ruby-class-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"class.rb": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
3,
|
|
4
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'Foo' class"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"class.rb"
|
|
],
|
|
"sha1": "6df292caffa4c25ba3e2043d1d6074b9ebed31d6",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "a3c8c3c923c1436c5a49cae810bc395e0761502b"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-class-replacement-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"class.rb": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
3,
|
|
4
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'Foo' class"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
4,
|
|
1
|
|
],
|
|
"end": [
|
|
6,
|
|
4
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'Foo' class"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"class.rb"
|
|
],
|
|
"sha1": "a3c8c3c923c1436c5a49cae810bc395e0761502b",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "f6cb1ffd33da8753227149ace98509a990c0a8d1"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-class-delete-insert-test",
|
|
"expectedResult": {
|
|
"changes": {},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"class.rb"
|
|
],
|
|
"sha1": "f6cb1ffd33da8753227149ace98509a990c0a8d1",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "d883dce6313b6d018b34636f350f47f68f1bddfb"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-class-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"class.rb"
|
|
],
|
|
"sha1": "d883dce6313b6d018b34636f350f47f68f1bddfb",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "04a6847bfc843a5e9833421cf5bb1e3197cdfd21"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-class-delete-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"class.rb": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
3,
|
|
4
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'Foo' class"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
4,
|
|
1
|
|
],
|
|
"end": [
|
|
6,
|
|
4
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'Foo' class"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
4,
|
|
1
|
|
],
|
|
"end": [
|
|
6,
|
|
4
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'Foo' class"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"class.rb"
|
|
],
|
|
"sha1": "04a6847bfc843a5e9833421cf5bb1e3197cdfd21",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "d5bacc733b0c3e11333270af7638078cfa2829f0"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-class-delete-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"class.rb": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
3,
|
|
4
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'Foo' class"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"class.rb"
|
|
],
|
|
"sha1": "d5bacc733b0c3e11333270af7638078cfa2829f0",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "766b908f84ff5b0b6aa40004020ac953f02ea70c"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-class-delete-rest-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"class.rb": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
3,
|
|
4
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'Foo' class"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"class.rb"
|
|
],
|
|
"sha1": "766b908f84ff5b0b6aa40004020ac953f02ea70c",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "84cb477f32c1520105f226c5b13cfdd268678b1d"
|
|
}]
|