1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 14:21:31 +03:00
semantic/test/corpus/diff-summaries/javascript/math-operator.json

125 lines
3.5 KiB
JSON
Raw Normal View History

2016-10-06 02:17:46 +03:00
[{
"testCaseDescription": "javascript-math-operator-insert-test",
"expectedResult": {
"changes": {
"math-operator.js": [
"Added the 'i + j * 3 - j % 5' math operator"
]
},
"errors": {}
},
"filePaths": [
"math-operator.js"
],
"sha1": "5849813ca5290325ffe39d290e78a99104035304",
2016-10-06 02:17:46 +03:00
"gitDir": "test/corpus/repos/javascript",
"sha2": "ec72f4310f1d740528e1cb8971f5a44c99368910"
2016-10-06 02:17:46 +03:00
}
,{
"testCaseDescription": "javascript-math-operator-replacement-insert-test",
"expectedResult": {
"changes": {
"math-operator.js": [
"Added the 'i + j * 2 - j % 4' math operator",
"Added the 'i + j * 3 - j % 5' math operator"
]
},
"errors": {}
},
"filePaths": [
"math-operator.js"
],
"sha1": "ec72f4310f1d740528e1cb8971f5a44c99368910",
2016-10-06 02:17:46 +03:00
"gitDir": "test/corpus/repos/javascript",
"sha2": "8f77eb6febc2faeff938106f1ee0b4fec83b1926"
2016-10-06 02:17:46 +03:00
}
,{
"testCaseDescription": "javascript-math-operator-delete-insert-test",
"expectedResult": {
"changes": {
"math-operator.js": [
"Replaced '2' with '3'",
"Replaced '4' with '5'"
2016-10-06 02:17:46 +03:00
]
},
"errors": {}
},
"filePaths": [
"math-operator.js"
],
"sha1": "8f77eb6febc2faeff938106f1ee0b4fec83b1926",
2016-10-06 02:17:46 +03:00
"gitDir": "test/corpus/repos/javascript",
"sha2": "0b5738f94a12baf7bebf8be4a2b5258140263e61"
2016-10-06 02:17:46 +03:00
}
,{
"testCaseDescription": "javascript-math-operator-replacement-test",
"expectedResult": {
"changes": {
"math-operator.js": [
"Replaced '3' with '2'",
"Replaced '5' with '4'"
2016-10-06 02:17:46 +03:00
]
},
"errors": {}
},
"filePaths": [
"math-operator.js"
],
"sha1": "0b5738f94a12baf7bebf8be4a2b5258140263e61",
2016-10-06 02:17:46 +03:00
"gitDir": "test/corpus/repos/javascript",
"sha2": "863e0bcea05ed4eef22b43a21c650e809672b8fa"
2016-10-06 02:17:46 +03:00
}
,{
"testCaseDescription": "javascript-math-operator-delete-replacement-test",
"expectedResult": {
"changes": {
"math-operator.js": [
"Deleted the 'i + j * 2 - j % 4' math operator",
"Deleted the 'i + j * 3 - j % 5' math operator",
"Added the 'i + j * 2 - j % 4' math operator"
2016-10-06 02:17:46 +03:00
]
},
"errors": {}
},
"filePaths": [
"math-operator.js"
],
"sha1": "863e0bcea05ed4eef22b43a21c650e809672b8fa",
2016-10-06 02:17:46 +03:00
"gitDir": "test/corpus/repos/javascript",
"sha2": "7c1c70d45bf38755d8451ee7d5ae6c8ce1f29e61"
2016-10-06 02:17:46 +03:00
}
,{
"testCaseDescription": "javascript-math-operator-delete-test",
"expectedResult": {
"changes": {
"math-operator.js": [
"Deleted the 'i + j * 3 - j % 5' math operator"
]
},
"errors": {}
},
"filePaths": [
"math-operator.js"
],
"sha1": "7c1c70d45bf38755d8451ee7d5ae6c8ce1f29e61",
2016-10-06 02:17:46 +03:00
"gitDir": "test/corpus/repos/javascript",
"sha2": "c2a4bf1a1ee700292a059b3c02552d3534c1ab01"
2016-10-06 02:17:46 +03:00
}
,{
"testCaseDescription": "javascript-math-operator-delete-rest-test",
"expectedResult": {
"changes": {
"math-operator.js": [
"Deleted the 'i + j * 2 - j % 4' math operator"
]
},
"errors": {}
},
"filePaths": [
"math-operator.js"
],
"sha1": "c2a4bf1a1ee700292a059b3c02552d3534c1ab01",
2016-10-06 02:17:46 +03:00
"gitDir": "test/corpus/repos/javascript",
"sha2": "59296bb55e2a8b7e4618367d4a796b089c2da907"
2016-10-06 02:17:46 +03:00
}]