mirror of
https://github.com/github/semantic.git
synced 2024-12-21 05:41:54 +03:00
293 lines
8.5 KiB
JSON
293 lines
8.5 KiB
JSON
[{
|
|
"testCaseDescription": "javascript-null-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"null.js": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
5
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'null' identifier"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"null.js"
|
|
],
|
|
"sha1": "0eb0a48a27bc6b8d01a210eea8cbccab5c6823f7",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "921a57a0891031baea0fa0ebfc5c1270751eb7c3"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-null-replacement-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"null.js": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'null' return statement"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
5
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'null' identifier"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"null.js"
|
|
],
|
|
"sha1": "921a57a0891031baea0fa0ebfc5c1270751eb7c3",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "1f137a24235834a5454a98078d3abb07cbdf1063"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-null-delete-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"null.js": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
5
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'null' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'null' return statement"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"null.js"
|
|
],
|
|
"sha1": "1f137a24235834a5454a98078d3abb07cbdf1063",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "1a76251123795db3deefceda4488e44d2eb80193"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-null-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"null.js": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'null' return statement"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
5
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'null' identifier"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"null.js"
|
|
],
|
|
"sha1": "1a76251123795db3deefceda4488e44d2eb80193",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "a7adbf72c2079adee39b2dbcc46a29447cc5b452"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-null-delete-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"null.js": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'null' return statement"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
5
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'null' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
1
|
|
],
|
|
"end": [
|
|
2,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'null' return statement"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"null.js"
|
|
],
|
|
"sha1": "a7adbf72c2079adee39b2dbcc46a29447cc5b452",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "72144a33117dda641088c950e9ba56808c39d69d"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-null-delete-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"null.js": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
5
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'null' identifier"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"null.js"
|
|
],
|
|
"sha1": "72144a33117dda641088c950e9ba56808c39d69d",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "7985243cb79eac510cc068710b58cff711ca4df7"
|
|
}
|
|
,{
|
|
"testCaseDescription": "javascript-null-delete-rest-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"null.js": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
1
|
|
],
|
|
"end": [
|
|
1,
|
|
13
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'null' return statement"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"null.js"
|
|
],
|
|
"sha1": "7985243cb79eac510cc068710b58cff711ca4df7",
|
|
"gitDir": "test/corpus/repos/javascript",
|
|
"sha2": "0785f1ff3205013dcbd5f5ca4d172e25f57b5969"
|
|
}]
|