mirror of
https://github.com/github/semantic.git
synced 2024-12-23 14:54:16 +03:00
263 lines
7.6 KiB
JSON
263 lines
7.6 KiB
JSON
[{
|
|
"testCaseDescription": "ruby-percent-array-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"percent-array.rb": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
12
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the '%w(one two)' array"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"percent-array.rb"
|
|
],
|
|
"sha1": "10c58c9fc837fda27ada81b2ee2942b1a122fc1c",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "992f41690334f8c1465c7fc3029efea67f281d0f"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-percent-array-replacement-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"percent-array.rb": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
19
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the '%W(one #{b} three)' array"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
12
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the '%w(one two)' array"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"percent-array.rb"
|
|
],
|
|
"sha1": "992f41690334f8c1465c7fc3029efea67f281d0f",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "6c92d52f2016535c94e512b8ef241e6753abc1a0"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-percent-array-delete-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"percent-array.rb": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
10
|
|
],
|
|
"end": [
|
|
1,
|
|
11
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'b' identifier"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"percent-array.rb"
|
|
],
|
|
"sha1": "6c92d52f2016535c94e512b8ef241e6753abc1a0",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "8c1a1d121d6fde79ff9bc9438da0842c0edc33f9"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-percent-array-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"percent-array.rb": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
10
|
|
],
|
|
"end": [
|
|
1,
|
|
11
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'b' identifier"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"percent-array.rb"
|
|
],
|
|
"sha1": "8c1a1d121d6fde79ff9bc9438da0842c0edc33f9",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "6c3f95838342d6004a05cde645f64622c3c80bc1"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-percent-array-delete-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"percent-array.rb": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
19
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the '%W(one #{b} three)' array"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
12
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the '%w(one two)' array"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
19
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the '%W(one #{b} three)' array"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"percent-array.rb"
|
|
],
|
|
"sha1": "6c3f95838342d6004a05cde645f64622c3c80bc1",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "bae94f7764acc0946303048dda214441a05469f4"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-percent-array-delete-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"percent-array.rb": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
12
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the '%w(one two)' array"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"percent-array.rb"
|
|
],
|
|
"sha1": "bae94f7764acc0946303048dda214441a05469f4",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "462b6d52833908f67dac9889dc60d91766ba8b81"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-percent-array-delete-rest-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"percent-array.rb": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
19
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the '%W(one #{b} three)' array"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"percent-array.rb"
|
|
],
|
|
"sha1": "462b6d52833908f67dac9889dc60d91766ba8b81",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "36171214f243f44b6a9662dc2afe32764cdb9cbb"
|
|
}]
|