1
1
mirror of https://github.com/github/semantic.git synced 2024-12-26 16:33:03 +03:00
semantic/test/corpus/diff-summaries/ruby/boolean-operator.json

197 lines
5.6 KiB
JSON
Raw Normal View History

2016-10-24 20:43:31 +03:00
[{
"testCaseDescription": "ruby-boolean-operator-insert-test",
"expectedResult": {
"changes": {
"boolean-operator.rb": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
7
]
}
},
"summary": "Added the 'a || b' boolean operator"
}
]
},
"errors": {}
},
"filePaths": [
"boolean-operator.rb"
],
2016-10-27 01:44:53 +03:00
"sha1": "e83a820baf76d0c567f311dadcd384798f8ffbb6",
2016-10-24 20:43:31 +03:00
"gitDir": "test/corpus/repos/ruby",
2016-10-27 01:44:53 +03:00
"sha2": "d8211ccc9351ff0e9386837a3eca2f78abc298c2"
2016-10-24 20:43:31 +03:00
}
,{
"testCaseDescription": "ruby-boolean-operator-replacement-insert-test",
"expectedResult": {
"changes": {
"boolean-operator.rb": [
{
"span": {
"insert": {
"start": [
1,
1
],
"end": [
1,
7
]
}
},
"summary": "Added the 'a && b' boolean operator"
},
{
"span": {
"insert": {
"start": [
2,
1
],
"end": [
2,
7
]
}
},
"summary": "Added the 'a || b' boolean operator"
}
]
},
"errors": {}
},
"filePaths": [
"boolean-operator.rb"
],
2016-10-27 01:44:53 +03:00
"sha1": "d8211ccc9351ff0e9386837a3eca2f78abc298c2",
2016-10-24 20:43:31 +03:00
"gitDir": "test/corpus/repos/ruby",
2016-10-27 01:44:53 +03:00
"sha2": "63dc3b5eeb14e9c8e7ca8665884bd5d9870e5a3b"
2016-10-24 20:43:31 +03:00
}
,{
"testCaseDescription": "ruby-boolean-operator-delete-insert-test",
"expectedResult": {
"changes": {},
"errors": {}
},
"filePaths": [
"boolean-operator.rb"
],
2016-10-27 01:44:53 +03:00
"sha1": "63dc3b5eeb14e9c8e7ca8665884bd5d9870e5a3b",
2016-10-24 20:43:31 +03:00
"gitDir": "test/corpus/repos/ruby",
2016-10-27 01:44:53 +03:00
"sha2": "76b49d92de9d05c91907a8b5d50d6fe8af6c47a9"
2016-10-24 20:43:31 +03:00
}
,{
"testCaseDescription": "ruby-boolean-operator-replacement-test",
"expectedResult": {
"changes": {},
"errors": {}
},
"filePaths": [
"boolean-operator.rb"
],
2016-10-27 01:44:53 +03:00
"sha1": "76b49d92de9d05c91907a8b5d50d6fe8af6c47a9",
2016-10-24 20:43:31 +03:00
"gitDir": "test/corpus/repos/ruby",
2016-10-27 01:44:53 +03:00
"sha2": "dab7a33e31b47a099bc9fa0b50bb7269ede282cd"
2016-10-24 20:43:31 +03:00
}
,{
"testCaseDescription": "ruby-boolean-operator-delete-replacement-test",
"expectedResult": {
"changes": {
"boolean-operator.rb": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
7
]
}
},
"summary": "Deleted the 'a && b' boolean operator"
}
]
},
"errors": {}
},
"filePaths": [
"boolean-operator.rb"
],
2016-10-27 01:44:53 +03:00
"sha1": "dab7a33e31b47a099bc9fa0b50bb7269ede282cd",
2016-10-24 20:43:31 +03:00
"gitDir": "test/corpus/repos/ruby",
2016-10-27 01:44:53 +03:00
"sha2": "bc8f21a812699c59ff344765b1b81774d456dcaf"
2016-10-24 20:43:31 +03:00
}
,{
"testCaseDescription": "ruby-boolean-operator-delete-test",
"expectedResult": {
"changes": {
"boolean-operator.rb": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
7
]
}
},
"summary": "Deleted the 'a || b' boolean operator"
}
]
},
"errors": {}
},
"filePaths": [
"boolean-operator.rb"
],
2016-10-27 01:44:53 +03:00
"sha1": "bc8f21a812699c59ff344765b1b81774d456dcaf",
2016-10-24 20:43:31 +03:00
"gitDir": "test/corpus/repos/ruby",
2016-10-27 01:44:53 +03:00
"sha2": "8664a5e920b6d5f1d10643c7a154794c5f997592"
2016-10-24 20:43:31 +03:00
}
,{
"testCaseDescription": "ruby-boolean-operator-delete-rest-test",
"expectedResult": {
"changes": {
"boolean-operator.rb": [
{
"span": {
"delete": {
"start": [
1,
1
],
"end": [
1,
7
]
}
},
"summary": "Deleted the 'a && b' boolean operator"
}
]
},
"errors": {}
},
"filePaths": [
"boolean-operator.rb"
],
2016-10-27 01:44:53 +03:00
"sha1": "8664a5e920b6d5f1d10643c7a154794c5f997592",
2016-10-24 20:43:31 +03:00
"gitDir": "test/corpus/repos/ruby",
2016-10-27 01:44:53 +03:00
"sha2": "c91cf4c77227af9b4b7023ed1f85ad0dbbf1e6f2"
2016-10-24 20:43:31 +03:00
}]