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-11-02 10:52:40 -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": "35da0b26118267a2e7eceee54e4be6bb57eb8f9d",
"gitDir": "test/corpus/repos/ruby",
"sha2": "e07a2ebd72c696bde8dc7cbad9c809493a7aa6be"
}
,{
"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": "e07a2ebd72c696bde8dc7cbad9c809493a7aa6be",
"gitDir": "test/corpus/repos/ruby",
"sha2": "938ec22076aac84b5d6d77cde41371a453aa5b7d"
}
,{
"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": "938ec22076aac84b5d6d77cde41371a453aa5b7d",
"gitDir": "test/corpus/repos/ruby",
"sha2": "e696587811a024ed945351688f7f503ab88c6879"
}
,{
"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": "e696587811a024ed945351688f7f503ab88c6879",
"gitDir": "test/corpus/repos/ruby",
"sha2": "bd85e17682836b4b2268d08c00047ea59451cb79"
}
,{
"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": "bd85e17682836b4b2268d08c00047ea59451cb79",
"gitDir": "test/corpus/repos/ruby",
"sha2": "471dbd2a77cc9d7202b519754bd2299b80ca2a8b"
}
,{
"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": "471dbd2a77cc9d7202b519754bd2299b80ca2a8b",
"gitDir": "test/corpus/repos/ruby",
"sha2": "39b9704a0d63e46f99b0c6aeb34801b95d2e2841"
}
,{
"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": "39b9704a0d63e46f99b0c6aeb34801b95d2e2841",
"gitDir": "test/corpus/repos/ruby",
"sha2": "6c1a8a4d11f4387e2baeee222283f9459f83d931"
}]