1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 14:54:16 +03:00
semantic/test/corpus/diff-summaries/ruby/subshell.json

287 lines
8.5 KiB
JSON
Raw Normal View History

2016-10-24 20:43:31 +03:00
[{
"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"
],
2016-10-31 23:21:58 +03:00
"sha1": "4cf0b1c84b725b7ecea2d0e2524d4aa83e9aa9f0",
2016-10-24 20:43:31 +03:00
"gitDir": "test/corpus/repos/ruby",
2016-10-31 23:21:58 +03:00
"sha2": "20eb2d66b4a9fa812951035a462e2b8f353431ff"
2016-10-24 20:43:31 +03:00
}
,{
"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"
],
2016-10-31 23:21:58 +03:00
"sha1": "20eb2d66b4a9fa812951035a462e2b8f353431ff",
2016-10-24 20:43:31 +03:00
"gitDir": "test/corpus/repos/ruby",
2016-10-31 23:21:58 +03:00
"sha2": "fdb9f2acfb3ed9873e84f15d9074908fe0185182"
2016-10-24 20:43:31 +03:00
}
,{
"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"
],
2016-10-31 23:21:58 +03:00
"sha1": "fdb9f2acfb3ed9873e84f15d9074908fe0185182",
2016-10-24 20:43:31 +03:00
"gitDir": "test/corpus/repos/ruby",
2016-10-31 23:21:58 +03:00
"sha2": "2fa537418ba3d387dce14ef9c763e45d4c655b74"
2016-10-24 20:43:31 +03:00
}
,{
"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"
],
2016-10-31 23:21:58 +03:00
"sha1": "2fa537418ba3d387dce14ef9c763e45d4c655b74",
2016-10-24 20:43:31 +03:00
"gitDir": "test/corpus/repos/ruby",
2016-10-31 23:21:58 +03:00
"sha2": "ad62044aa63938576393977e95062643f6197e16"
2016-10-24 20:43:31 +03:00
}
,{
"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"
],
2016-10-31 23:21:58 +03:00
"sha1": "ad62044aa63938576393977e95062643f6197e16",
2016-10-24 20:43:31 +03:00
"gitDir": "test/corpus/repos/ruby",
2016-10-31 23:21:58 +03:00
"sha2": "957d2351752ecee0264d8b9cc4353348cbb52b75"
2016-10-24 20:43:31 +03:00
}
,{
"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"
],
2016-10-31 23:21:58 +03:00
"sha1": "957d2351752ecee0264d8b9cc4353348cbb52b75",
2016-10-24 20:43:31 +03:00
"gitDir": "test/corpus/repos/ruby",
2016-10-31 23:21:58 +03:00
"sha2": "49e57b7abbf657b91d076a9f8b8e0d97f4becccc"
2016-10-24 20:43:31 +03:00
}
,{
"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"
],
2016-10-31 23:21:58 +03:00
"sha1": "49e57b7abbf657b91d076a9f8b8e0d97f4becccc",
2016-10-24 20:43:31 +03:00
"gitDir": "test/corpus/repos/ruby",
2016-10-31 23:21:58 +03:00
"sha2": "625fb3deaae6820d70e1d8cfe393b3d0c19484ff"
2016-10-24 20:43:31 +03:00
}]