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-26 15:22:59 -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": "b5f83cf9849fb27edca3ea7df9980ea77f9feecf",
"gitDir": "test/corpus/repos/ruby",
"sha2": "a6be1484d341cf494aef3ad8ddbb33b93ae2060d"
}
,{
"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": "a6be1484d341cf494aef3ad8ddbb33b93ae2060d",
"gitDir": "test/corpus/repos/ruby",
"sha2": "9a0ebc72fca0dded40a3f04b5fff97522a42fada"
}
,{
"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": "9a0ebc72fca0dded40a3f04b5fff97522a42fada",
"gitDir": "test/corpus/repos/ruby",
"sha2": "7bc54e09a8c8055c8260269e8ba7bea217f695a2"
}
,{
"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": "7bc54e09a8c8055c8260269e8ba7bea217f695a2",
"gitDir": "test/corpus/repos/ruby",
"sha2": "0d6c3a91e745509a6b99b0379b88898afe8b6207"
}
,{
"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": "0d6c3a91e745509a6b99b0379b88898afe8b6207",
"gitDir": "test/corpus/repos/ruby",
"sha2": "d830f1506fec5dc31224bb158772b5887af50e9e"
}
,{
"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": "d830f1506fec5dc31224bb158772b5887af50e9e",
"gitDir": "test/corpus/repos/ruby",
"sha2": "252b6364f6d518cfee6f36796f22013be0c2efdd"
}
,{
"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": "252b6364f6d518cfee6f36796f22013be0c2efdd",
"gitDir": "test/corpus/repos/ruby",
"sha2": "5b7a3ba1c421fb843a5e81de7656dd1f6fd8eff0"
}]