1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 23:11:50 +03:00
semantic/test/corpus/diff-summaries/ruby/subshell.json
2016-10-27 10:07:24 -07:00

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": "d800f5802568aacd0cc8d9c7037d0eafd735ccd8",
"gitDir": "test/corpus/repos/ruby",
"sha2": "d7f011c017a7945d64db60524b996f503c6f053d"
}
,{
"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": "d7f011c017a7945d64db60524b996f503c6f053d",
"gitDir": "test/corpus/repos/ruby",
"sha2": "d5ec2b88e26b3cbd1fd75f78e28425204b45fb60"
}
,{
"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": "d5ec2b88e26b3cbd1fd75f78e28425204b45fb60",
"gitDir": "test/corpus/repos/ruby",
"sha2": "395a553f3dd893610d3818a8ff277b3766269355"
}
,{
"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": "395a553f3dd893610d3818a8ff277b3766269355",
"gitDir": "test/corpus/repos/ruby",
"sha2": "39685401784caeb36adabb3338c20577fb3ff69c"
}
,{
"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": "39685401784caeb36adabb3338c20577fb3ff69c",
"gitDir": "test/corpus/repos/ruby",
"sha2": "93f9a8b87d25d528455f4d9535c8768a53556018"
}
,{
"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": "93f9a8b87d25d528455f4d9535c8768a53556018",
"gitDir": "test/corpus/repos/ruby",
"sha2": "9384ab17a1522a13a7ca019080cd6f11a809d8f5"
}
,{
"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": "9384ab17a1522a13a7ca019080cd6f11a809d8f5",
"gitDir": "test/corpus/repos/ruby",
"sha2": "39370fd2c53fb0727cb53346182cded1a85ec9d6"
}]