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-31 13:14:58 -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": "0cc55760de125b576ce3f96c1568773fac6f0e7c",
"gitDir": "test/corpus/repos/ruby",
"sha2": "2f960eb920fd3224589f96f41933696ff1bb4e27"
}
,{
"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": "2f960eb920fd3224589f96f41933696ff1bb4e27",
"gitDir": "test/corpus/repos/ruby",
"sha2": "1b43599ec01a4a6a35db506d8f8cca6b8cf65d1d"
}
,{
"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": "1b43599ec01a4a6a35db506d8f8cca6b8cf65d1d",
"gitDir": "test/corpus/repos/ruby",
"sha2": "84f9f70313760650147faa19b37511c80e0c7c04"
}
,{
"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": "84f9f70313760650147faa19b37511c80e0c7c04",
"gitDir": "test/corpus/repos/ruby",
"sha2": "1d65e0543d8e7813f34e2f643348c6123a33eef9"
}
,{
"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": "1d65e0543d8e7813f34e2f643348c6123a33eef9",
"gitDir": "test/corpus/repos/ruby",
"sha2": "4001b5c5d17ac2dbdbf29ea39c745e312b37f4b9"
}
,{
"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": "4001b5c5d17ac2dbdbf29ea39c745e312b37f4b9",
"gitDir": "test/corpus/repos/ruby",
"sha2": "816a2bd80e2fb45b57fec52644bc184f967d94a8"
}
,{
"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": "816a2bd80e2fb45b57fec52644bc184f967d94a8",
"gitDir": "test/corpus/repos/ruby",
"sha2": "ca68fbb6c277fb7aed5770e7cdea259a08ebdb89"
}]