1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 06:41:45 +03:00
semantic/test/corpus/diff-summaries/javascript/comment.json

123 lines
3.5 KiB
JSON

[{
"testCaseDescription": "javascript-comment-insert-test",
"expectedResult": {
"changes": {
"comment.js": [
"Added the '// This is a property' comment"
]
},
"errors": {}
},
"filePaths": [
"comment.js"
],
"sha1": "e797ca2c748a6d42d67875240942d0876fd66cbc",
"gitDir": "test/corpus/repos/javascript",
"sha2": "9b44781137dd99590dc0b1ee7f175d7554fc19c1"
}
,{
"testCaseDescription": "javascript-comment-replacement-insert-test",
"expectedResult": {
"changes": {
"comment.js": [
"Added the '/*\n * This is a method\n*/' comment",
"Added the '// This is a property' comment"
]
},
"errors": {}
},
"filePaths": [
"comment.js"
],
"sha1": "9b44781137dd99590dc0b1ee7f175d7554fc19c1",
"gitDir": "test/corpus/repos/javascript",
"sha2": "b7b5ac68f521105a55e5efbbc290762ae19e998a"
}
,{
"testCaseDescription": "javascript-comment-delete-insert-test",
"expectedResult": {
"changes": {
"comment.js": [
"Replaced the '/*\n * This is a method\n*/' comment with the '// This is a property' comment"
]
},
"errors": {}
},
"filePaths": [
"comment.js"
],
"sha1": "b7b5ac68f521105a55e5efbbc290762ae19e998a",
"gitDir": "test/corpus/repos/javascript",
"sha2": "f28812e795ef48e013b23d15cc250a11a65d1efb"
}
,{
"testCaseDescription": "javascript-comment-replacement-test",
"expectedResult": {
"changes": {
"comment.js": [
"Replaced the '// This is a property' comment with the '/*\n * This is a method\n*/' comment"
]
},
"errors": {}
},
"filePaths": [
"comment.js"
],
"sha1": "f28812e795ef48e013b23d15cc250a11a65d1efb",
"gitDir": "test/corpus/repos/javascript",
"sha2": "94d3258258fc5dda40f68012a4a29a0699ae7198"
}
,{
"testCaseDescription": "javascript-comment-delete-replacement-test",
"expectedResult": {
"changes": {
"comment.js": [
"Deleted the '/*\n * This is a method\n*/' comment",
"Deleted the '// This is a property' comment",
"Added the '/*\n * This is a method\n*/' comment"
]
},
"errors": {}
},
"filePaths": [
"comment.js"
],
"sha1": "94d3258258fc5dda40f68012a4a29a0699ae7198",
"gitDir": "test/corpus/repos/javascript",
"sha2": "054b25777313237a3548f17e75ddf0036c8c4b97"
}
,{
"testCaseDescription": "javascript-comment-delete-test",
"expectedResult": {
"changes": {
"comment.js": [
"Deleted the '// This is a property' comment"
]
},
"errors": {}
},
"filePaths": [
"comment.js"
],
"sha1": "054b25777313237a3548f17e75ddf0036c8c4b97",
"gitDir": "test/corpus/repos/javascript",
"sha2": "446ac1dc79acd4f137b6d2a6eb894cb3377f82a5"
}
,{
"testCaseDescription": "javascript-comment-delete-rest-test",
"expectedResult": {
"changes": {
"comment.js": [
"Deleted the '/*\n * This is a method\n*/' comment"
]
},
"errors": {}
},
"filePaths": [
"comment.js"
],
"sha1": "446ac1dc79acd4f137b6d2a6eb894cb3377f82a5",
"gitDir": "test/corpus/repos/javascript",
"sha2": "e744226ef998687c390e01091951dba025d40dfd"
}]