mirror of
https://github.com/github/semantic.git
synced 2024-12-21 22:01:46 +03:00
125 lines
3.5 KiB
JSON
125 lines
3.5 KiB
JSON
[{
|
|
"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",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "ec72f4310f1d740528e1cb8971f5a44c99368910"
|
|
}
|
|
,{
|
|
"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",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "8f77eb6febc2faeff938106f1ee0b4fec83b1926"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-math-operator-delete-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"math-operator.js": [
|
|
"Replaced '2' with '3'",
|
|
"Replaced '4' with '5'"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"math-operator.js"
|
|
],
|
|
"sha1": "8f77eb6febc2faeff938106f1ee0b4fec83b1926",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "0b5738f94a12baf7bebf8be4a2b5258140263e61"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-math-operator-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"math-operator.js": [
|
|
"Replaced '3' with '2'",
|
|
"Replaced '5' with '4'"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"math-operator.js"
|
|
],
|
|
"sha1": "0b5738f94a12baf7bebf8be4a2b5258140263e61",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "863e0bcea05ed4eef22b43a21c650e809672b8fa"
|
|
}
|
|
,{
|
|
"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"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"math-operator.js"
|
|
],
|
|
"sha1": "863e0bcea05ed4eef22b43a21c650e809672b8fa",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "7c1c70d45bf38755d8451ee7d5ae6c8ce1f29e61"
|
|
}
|
|
,{
|
|
"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",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "c2a4bf1a1ee700292a059b3c02552d3534c1ab01"
|
|
}
|
|
,{
|
|
"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",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "59296bb55e2a8b7e4618367d4a796b089c2da907"
|
|
}]
|