mirror of
https://github.com/github/semantic.git
synced 2024-12-24 15:35:14 +03:00
125 lines
3.5 KiB
JSON
125 lines
3.5 KiB
JSON
[{
|
|
"testCaseDescription": "javascript-switch-statement-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"switch-statement.js": [
|
|
"Added the '1' switch statement"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"switch-statement.js"
|
|
],
|
|
"sha1": "e744226ef998687c390e01091951dba025d40dfd",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "bc7468ae016de58406ed2d8bdbb977fe5027bdc7"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-switch-statement-replacement-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"switch-statement.js": [
|
|
"Added the '2' switch statement",
|
|
"Added the '1' switch statement"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"switch-statement.js"
|
|
],
|
|
"sha1": "bc7468ae016de58406ed2d8bdbb977fe5027bdc7",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "0c65e7794f6a6601e8418869d707e9945b6dfb3a"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-switch-statement-delete-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"switch-statement.js": [
|
|
"Replaced '2' with '1'",
|
|
"Replaced '2' with '1'"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"switch-statement.js"
|
|
],
|
|
"sha1": "0c65e7794f6a6601e8418869d707e9945b6dfb3a",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "04e07392b9bc9e3674217cb3ac322ecf6fcf71d7"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-switch-statement-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"switch-statement.js": [
|
|
"Replaced '1' with '2'",
|
|
"Replaced '1' with '2'"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"switch-statement.js"
|
|
],
|
|
"sha1": "04e07392b9bc9e3674217cb3ac322ecf6fcf71d7",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "a61fe4d85bd88a2ec93c6a74d741aae3c6ef4d97"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-switch-statement-delete-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"switch-statement.js": [
|
|
"Deleted the '2' switch statement",
|
|
"Deleted the '1' switch statement",
|
|
"Added the '2' switch statement"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"switch-statement.js"
|
|
],
|
|
"sha1": "a61fe4d85bd88a2ec93c6a74d741aae3c6ef4d97",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "1eb32b98fc86b9304b04fdc7f68cb6fc80cdda9e"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-switch-statement-delete-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"switch-statement.js": [
|
|
"Deleted the '1' switch statement"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"switch-statement.js"
|
|
],
|
|
"sha1": "1eb32b98fc86b9304b04fdc7f68cb6fc80cdda9e",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "ed5407f7d0670c5455d3c8dcb9907aee676c19d7"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-switch-statement-delete-rest-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"switch-statement.js": [
|
|
"Deleted the '2' switch statement"
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"switch-statement.js"
|
|
],
|
|
"sha1": "ed5407f7d0670c5455d3c8dcb9907aee676c19d7",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "0ba23e1269b5b38e6ec69120b738ff7c825beeca"
|
|
}]
|