1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 23:42:31 +03:00
semantic/test/corpus/diff-summaries/javascript/regex.json
2016-10-10 12:39:22 -05:00

123 lines
3.2 KiB
JSON

[{
"testCaseDescription": "javascript-regex-insert-test",
"expectedResult": {
"changes": {
"regex.js": [
"Added the '/one/g' regex"
]
},
"errors": {}
},
"filePaths": [
"regex.js"
],
"sha1": "2995d1aca385ff7a010d87b399b5f9c17988e3f9",
"gitDir": "test/corpus/repos/javascript",
"sha2": "c12b7a4468d030a5e8064bc7bfccaa2aad0d2631"
}
,{
"testCaseDescription": "javascript-regex-replacement-insert-test",
"expectedResult": {
"changes": {
"regex.js": [
"Added the '/on[^/]afe/gim' regex",
"Added the '/one/g' regex"
]
},
"errors": {}
},
"filePaths": [
"regex.js"
],
"sha1": "c12b7a4468d030a5e8064bc7bfccaa2aad0d2631",
"gitDir": "test/corpus/repos/javascript",
"sha2": "abfee162065bc77bae34bedcceecc6c587ad5b9a"
}
,{
"testCaseDescription": "javascript-regex-delete-insert-test",
"expectedResult": {
"changes": {
"regex.js": [
"Replaced the '/on[^/]afe/gim' regex with the '/one/g' regex"
]
},
"errors": {}
},
"filePaths": [
"regex.js"
],
"sha1": "abfee162065bc77bae34bedcceecc6c587ad5b9a",
"gitDir": "test/corpus/repos/javascript",
"sha2": "7130fe4a7f8cc0ab68b90a5e53c72cf318d1e518"
}
,{
"testCaseDescription": "javascript-regex-replacement-test",
"expectedResult": {
"changes": {
"regex.js": [
"Replaced the '/one/g' regex with the '/on[^/]afe/gim' regex"
]
},
"errors": {}
},
"filePaths": [
"regex.js"
],
"sha1": "7130fe4a7f8cc0ab68b90a5e53c72cf318d1e518",
"gitDir": "test/corpus/repos/javascript",
"sha2": "4a1a39bfd427aa1cf7ad8c0d78ab0034b20457f1"
}
,{
"testCaseDescription": "javascript-regex-delete-replacement-test",
"expectedResult": {
"changes": {
"regex.js": [
"Deleted the '/on[^/]afe/gim' regex",
"Deleted the '/one/g' regex",
"Added the '/on[^/]afe/gim' regex"
]
},
"errors": {}
},
"filePaths": [
"regex.js"
],
"sha1": "4a1a39bfd427aa1cf7ad8c0d78ab0034b20457f1",
"gitDir": "test/corpus/repos/javascript",
"sha2": "b01f68d51110e7c698e28689cd423715614a2205"
}
,{
"testCaseDescription": "javascript-regex-delete-test",
"expectedResult": {
"changes": {
"regex.js": [
"Deleted the '/one/g' regex"
]
},
"errors": {}
},
"filePaths": [
"regex.js"
],
"sha1": "b01f68d51110e7c698e28689cd423715614a2205",
"gitDir": "test/corpus/repos/javascript",
"sha2": "4365c3f817d3276ed89d9aec1a878f19fd809ecd"
}
,{
"testCaseDescription": "javascript-regex-delete-rest-test",
"expectedResult": {
"changes": {
"regex.js": [
"Deleted the '/on[^/]afe/gim' regex"
]
},
"errors": {}
},
"filePaths": [
"regex.js"
],
"sha1": "4365c3f817d3276ed89d9aec1a878f19fd809ecd",
"gitDir": "test/corpus/repos/javascript",
"sha2": "5e6f4e3838bf159800500392e15ddded0b06f423"
}]