mirror of
https://github.com/github/semantic.git
synced 2024-12-23 14:54:16 +03:00
287 lines
8.5 KiB
JSON
287 lines
8.5 KiB
JSON
[{
|
|
"testCaseDescription": "ruby-subshell-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"subshell.rb": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
9
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the `ls -la` subshell command"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"subshell.rb"
|
|
],
|
|
"sha1": "a66bc17a196ef7f1e94fba7503cb879f3327a8f4",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "3c9015f0d82377ccacb57f2552efef5cda163e25"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-subshell-replacement-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"subshell.rb": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the `git status` subshell command"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
9
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the `ls -la` subshell command"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"subshell.rb"
|
|
],
|
|
"sha1": "3c9015f0d82377ccacb57f2552efef5cda163e25",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "2da91e24599f3d0a411642465b3dccc86d476b90"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-subshell-delete-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"subshell.rb": [
|
|
{
|
|
"span": {
|
|
"replace": [
|
|
{
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
13
|
|
]
|
|
},
|
|
{
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
9
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"summary": "Replaced the `git status` subshell command with the `ls -la` subshell command"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"subshell.rb"
|
|
],
|
|
"sha1": "2da91e24599f3d0a411642465b3dccc86d476b90",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "e97c1cdf617e4819e2b7d434173e1839d745fac8"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-subshell-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"subshell.rb": [
|
|
{
|
|
"span": {
|
|
"replace": [
|
|
{
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
9
|
|
]
|
|
},
|
|
{
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
13
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"summary": "Replaced the `ls -la` subshell command with the `git status` subshell command"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"subshell.rb"
|
|
],
|
|
"sha1": "e97c1cdf617e4819e2b7d434173e1839d745fac8",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "7611b767684cbae78bdd35e920308bcbcc18cfda"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-subshell-delete-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"subshell.rb": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the `git status` subshell command"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
9
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the `ls -la` subshell command"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the `git status` subshell command"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"subshell.rb"
|
|
],
|
|
"sha1": "7611b767684cbae78bdd35e920308bcbcc18cfda",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "40054f1c4187c23e53f4b574e9663e845a9f4911"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-subshell-delete-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"subshell.rb": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
9
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the `ls -la` subshell command"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"subshell.rb"
|
|
],
|
|
"sha1": "40054f1c4187c23e53f4b574e9663e845a9f4911",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "38a78a95075e715174f91ed419378fa8cdfaeea2"
|
|
}
|
|
,{
|
|
"testCaseDescription": "ruby-subshell-delete-rest-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"subshell.rb": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the `git status` subshell command"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"subshell.rb"
|
|
],
|
|
"sha1": "38a78a95075e715174f91ed419378fa8cdfaeea2",
|
|
"gitDir": "test/corpus/repos/ruby",
|
|
"sha2": "cfdb12a3998ac7fb37f260049809bff6c8e43d42"
|
|
}]
|