1
1
mirror of https://github.com/github/semantic.git synced 2024-12-25 16:02:43 +03:00
semantic/test/corpus/diff-summaries/go/call-expressions.json

1517 lines
47 KiB
JSON
Raw Normal View History

2016-11-02 17:50:05 +03:00
[{
2016-11-02 21:37:30 +03:00
"testCaseDescription": "go-call-expressions-insert-test",
2016-11-02 17:50:05 +03:00
"expectedResult": {
"changes": {
2016-11-02 21:37:30 +03:00
"call-expressions.go": [
2016-11-02 17:50:05 +03:00
{
"span": {
"replace": [
{
"start": [
1,
1
],
"end": [
3,
1
2016-11-02 17:50:05 +03:00
]
},
{
"start": [
1,
1
],
"end": [
1,
13
]
}
]
},
"summary": "Replaced the 'main' module with the 'main' module"
2016-11-02 17:50:05 +03:00
}
]
},
"errors": {}
},
"filePaths": [
2016-11-02 21:37:30 +03:00
"call-expressions.go"
2016-11-02 17:50:05 +03:00
],
2016-11-02 23:29:27 +03:00
"sha1": "b73486ae4d5eeb927fe66b183bd939736e46587a",
2016-11-02 17:50:05 +03:00
"gitDir": "test/corpus/repos/go",
2016-11-02 23:29:27 +03:00
"sha2": "a43f02410202585572a8601b6fd923da709380ee"
2016-11-02 17:50:05 +03:00
}
,{
2016-11-02 21:37:30 +03:00
"testCaseDescription": "go-call-expressions-replacement-insert-test",
2016-11-02 17:50:05 +03:00
"expectedResult": {
"changes": {
2016-11-02 21:37:30 +03:00
"call-expressions.go": [
2016-11-02 17:50:05 +03:00
{
"span": {
"insert": {
"start": [
3,
2016-11-02 21:37:30 +03:00
1
2016-11-02 17:50:05 +03:00
],
"end": [
3,
2016-11-02 21:37:30 +03:00
2
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'a' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
3,
2016-11-02 21:37:30 +03:00
3
2016-11-02 17:50:05 +03:00
],
"end": [
3,
2016-11-02 21:37:30 +03:00
4
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'b' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
3,
2016-11-02 21:37:30 +03:00
6
2016-11-02 17:50:05 +03:00
],
"end": [
3,
2016-11-02 21:37:30 +03:00
7
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'c' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
4,
2016-11-02 21:37:30 +03:00
1
2016-11-02 17:50:05 +03:00
],
"end": [
4,
2016-11-02 21:37:30 +03:00
2
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'b' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
4,
2016-11-02 21:37:30 +03:00
3
2016-11-02 17:50:05 +03:00
],
"end": [
4,
2016-11-02 21:37:30 +03:00
4
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'b' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
4,
2016-11-02 21:37:30 +03:00
6
2016-11-02 17:50:05 +03:00
],
"end": [
4,
2016-11-02 21:37:30 +03:00
7
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'c' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
5,
1
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
5,
2
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'c' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
5,
2016-11-02 21:37:30 +03:00
3
2016-11-02 17:50:05 +03:00
],
"end": [
5,
2016-11-02 21:37:30 +03:00
4
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'b' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
5,
2016-11-02 21:37:30 +03:00
5
2016-11-02 17:50:05 +03:00
],
"end": [
5,
2016-11-02 21:37:30 +03:00
6
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'c' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
6,
1
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
6,
2
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'x' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
6,
3
],
"end": [
6,
4
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'b' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
6,
2016-11-02 21:37:30 +03:00
6
2016-11-02 17:50:05 +03:00
],
"end": [
6,
2016-11-02 21:37:30 +03:00
7
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'c' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
7,
1
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
7,
2
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'y' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
7,
3
],
"end": [
7,
4
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'b' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
7,
2016-11-02 21:37:30 +03:00
6
2016-11-02 17:50:05 +03:00
],
"end": [
7,
2016-11-02 21:37:30 +03:00
7
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'c' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
8,
1
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
8,
2
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'z' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
8,
3
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
8,
4
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'b' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
8,
5
],
"end": [
8,
6
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'c' identifier"
}
]
},
"errors": {}
},
"filePaths": [
"call-expressions.go"
],
2016-11-02 23:29:27 +03:00
"sha1": "a43f02410202585572a8601b6fd923da709380ee",
2016-11-02 21:37:30 +03:00
"gitDir": "test/corpus/repos/go",
2016-11-02 23:29:27 +03:00
"sha2": "ab8413a222924c04bd7cd68105e65409ac831cbd"
2016-11-02 21:37:30 +03:00
}
,{
"testCaseDescription": "go-call-expressions-delete-insert-test",
"expectedResult": {
"changes": {
"call-expressions.go": [
{
"span": {
"insert": {
"start": [
3,
1
],
"end": [
3,
2
]
}
},
"summary": "Added the 'x' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
3,
3
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
3,
4
2016-11-02 17:50:05 +03:00
]
}
},
"summary": "Added the 'b' identifier"
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
3,
6
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
3,
7
2016-11-02 17:50:05 +03:00
]
}
},
"summary": "Added the 'c' identifier"
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
4,
1
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
4,
2
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'y' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
4,
3
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
4,
4
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'b' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
4,
6
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
4,
7
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'c' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
5,
1
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
5,
2
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'z' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
5,
2016-11-02 17:50:05 +03:00
3
],
"end": [
2016-11-02 21:37:30 +03:00
5,
2016-11-02 17:50:05 +03:00
4
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'b' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
5,
2016-11-02 17:50:05 +03:00
5
],
"end": [
2016-11-02 21:37:30 +03:00
5,
2016-11-02 17:50:05 +03:00
6
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'c' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
2016-11-02 21:37:30 +03:00
"delete": {
2016-11-02 17:50:05 +03:00
"start": [
2016-11-02 21:37:30 +03:00
3,
1
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
3,
2
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'a' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
2016-11-02 21:37:30 +03:00
"delete": {
"start": [
3,
3
],
"end": [
3,
4
]
}
2016-11-02 17:50:05 +03:00
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'b' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
2016-11-02 21:37:30 +03:00
"delete": {
"start": [
3,
6
],
"end": [
3,
7
]
}
2016-11-02 17:50:05 +03:00
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'c' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
2016-11-02 21:37:30 +03:00
"delete": {
"start": [
4,
1
],
"end": [
4,
2
]
}
2016-11-02 17:50:05 +03:00
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'b' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
2016-11-02 21:37:30 +03:00
"delete": {
"start": [
4,
3
],
"end": [
4,
4
]
}
2016-11-02 17:50:05 +03:00
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'b' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
2016-11-02 21:37:30 +03:00
"delete": {
"start": [
4,
6
],
"end": [
4,
7
]
}
2016-11-02 17:50:05 +03:00
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'c' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
2016-11-02 21:37:30 +03:00
"delete": {
"start": [
5,
1
],
"end": [
5,
2
]
}
2016-11-02 17:50:05 +03:00
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'c' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
2016-11-02 21:37:30 +03:00
"delete": {
"start": [
5,
3
],
"end": [
5,
4
]
}
2016-11-02 17:50:05 +03:00
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'b' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
2016-11-02 21:37:30 +03:00
"delete": {
"start": [
5,
5
],
"end": [
5,
6
]
}
2016-11-02 17:50:05 +03:00
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'c' identifier"
2016-11-02 17:50:05 +03:00
}
]
},
"errors": {}
},
"filePaths": [
2016-11-02 21:37:30 +03:00
"call-expressions.go"
2016-11-02 17:50:05 +03:00
],
2016-11-02 23:29:27 +03:00
"sha1": "ab8413a222924c04bd7cd68105e65409ac831cbd",
2016-11-02 17:50:05 +03:00
"gitDir": "test/corpus/repos/go",
2016-11-02 23:29:27 +03:00
"sha2": "91fc93e2b21d25396ed9e982ecf36da4c403cb6c"
2016-11-02 17:50:05 +03:00
}
,{
2016-11-02 21:37:30 +03:00
"testCaseDescription": "go-call-expressions-replacement-test",
2016-11-02 17:50:05 +03:00
"expectedResult": {
"changes": {
2016-11-02 21:37:30 +03:00
"call-expressions.go": [
2016-11-02 17:50:05 +03:00
{
"span": {
2016-11-02 21:37:30 +03:00
"insert": {
2016-11-02 17:50:05 +03:00
"start": [
3,
2016-11-02 21:37:30 +03:00
1
2016-11-02 17:50:05 +03:00
],
"end": [
3,
2016-11-02 21:37:30 +03:00
2
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'a' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
2016-11-02 21:37:30 +03:00
"insert": {
2016-11-02 17:50:05 +03:00
"start": [
3,
2016-11-02 21:37:30 +03:00
3
2016-11-02 17:50:05 +03:00
],
"end": [
3,
2016-11-02 21:37:30 +03:00
4
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'b' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
2016-11-02 21:37:30 +03:00
"insert": {
2016-11-02 17:50:05 +03:00
"start": [
3,
2016-11-02 21:37:30 +03:00
6
2016-11-02 17:50:05 +03:00
],
"end": [
3,
2016-11-02 21:37:30 +03:00
7
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'c' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
2016-11-02 21:37:30 +03:00
"insert": {
2016-11-02 17:50:05 +03:00
"start": [
2016-11-02 21:37:30 +03:00
4,
1
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
4,
2
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'b' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
2016-11-02 21:37:30 +03:00
"insert": {
2016-11-02 17:50:05 +03:00
"start": [
4,
2016-11-02 21:37:30 +03:00
3
2016-11-02 17:50:05 +03:00
],
"end": [
4,
2016-11-02 21:37:30 +03:00
4
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'b' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
2016-11-02 21:37:30 +03:00
"insert": {
2016-11-02 17:50:05 +03:00
"start": [
4,
2016-11-02 21:37:30 +03:00
6
2016-11-02 17:50:05 +03:00
],
"end": [
4,
2016-11-02 21:37:30 +03:00
7
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'c' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
2016-11-02 21:37:30 +03:00
"insert": {
2016-11-02 17:50:05 +03:00
"start": [
2016-11-02 21:37:30 +03:00
5,
1
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
5,
2
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'c' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
2016-11-02 21:37:30 +03:00
"insert": {
2016-11-02 17:50:05 +03:00
"start": [
2016-11-02 21:37:30 +03:00
5,
3
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
5,
4
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'b' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
2016-11-02 21:37:30 +03:00
"insert": {
2016-11-02 17:50:05 +03:00
"start": [
5,
2016-11-02 21:37:30 +03:00
5
2016-11-02 17:50:05 +03:00
],
"end": [
5,
2016-11-02 21:37:30 +03:00
6
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'c' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-02 21:37:30 +03:00
3,
1
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
3,
2
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'x' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-02 21:37:30 +03:00
3,
3
],
"end": [
3,
4
]
}
},
"summary": "Deleted the 'b' identifier"
},
{
"span": {
"delete": {
"start": [
3,
2016-11-02 17:50:05 +03:00
6
],
"end": [
2016-11-02 21:37:30 +03:00
3,
2016-11-02 17:50:05 +03:00
7
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'c' identifier"
},
{
"span": {
"delete": {
"start": [
4,
1
],
"end": [
4,
2
]
}
},
"summary": "Deleted the 'y' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-02 21:37:30 +03:00
4,
2016-11-02 17:50:05 +03:00
3
],
"end": [
2016-11-02 21:37:30 +03:00
4,
2016-11-02 17:50:05 +03:00
4
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'b' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-02 21:37:30 +03:00
4,
6
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
4,
7
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'c' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-02 21:37:30 +03:00
5,
1
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
5,
2
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'z' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-02 21:37:30 +03:00
5,
2016-11-02 17:50:05 +03:00
3
],
"end": [
2016-11-02 21:37:30 +03:00
5,
2016-11-02 17:50:05 +03:00
4
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'b' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-02 21:37:30 +03:00
5,
2016-11-02 17:50:05 +03:00
5
],
"end": [
2016-11-02 21:37:30 +03:00
5,
2016-11-02 17:50:05 +03:00
6
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'c' identifier"
}
]
},
"errors": {}
},
"filePaths": [
"call-expressions.go"
],
2016-11-02 23:29:27 +03:00
"sha1": "91fc93e2b21d25396ed9e982ecf36da4c403cb6c",
2016-11-02 21:37:30 +03:00
"gitDir": "test/corpus/repos/go",
2016-11-02 23:29:27 +03:00
"sha2": "53e98be4ab2385a69cb43839026433369c411681"
2016-11-02 21:37:30 +03:00
}
,{
"testCaseDescription": "go-call-expressions-delete-replacement-test",
"expectedResult": {
"changes": {
"call-expressions.go": [
{
"span": {
"delete": {
"start": [
3,
1
],
"end": [
3,
2
]
}
},
"summary": "Deleted the 'a' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-02 21:37:30 +03:00
3,
3
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
3,
4
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'b' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-02 21:37:30 +03:00
3,
6
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
3,
7
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'c' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-02 21:37:30 +03:00
4,
1
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
4,
2
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'b' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-02 21:37:30 +03:00
4,
3
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
4,
4
2016-11-02 17:50:05 +03:00
]
}
},
"summary": "Deleted the 'b' identifier"
},
{
"span": {
"delete": {
"start": [
2016-11-02 21:37:30 +03:00
4,
6
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
4,
7
2016-11-02 17:50:05 +03:00
]
}
},
"summary": "Deleted the 'c' identifier"
},
{
"span": {
"delete": {
"start": [
2016-11-02 21:37:30 +03:00
5,
1
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
5,
2
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'c' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-02 21:37:30 +03:00
5,
3
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
5,
4
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'b' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-02 21:37:30 +03:00
5,
5
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
5,
6
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'c' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-02 21:37:30 +03:00
6,
1
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
6,
2
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'x' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-02 21:37:30 +03:00
6,
2016-11-02 17:50:05 +03:00
3
],
"end": [
2016-11-02 21:37:30 +03:00
6,
2016-11-02 17:50:05 +03:00
4
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'b' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-02 21:37:30 +03:00
6,
6
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
6,
7
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'c' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-02 21:37:30 +03:00
7,
1
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
7,
2
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'y' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
2016-11-02 21:37:30 +03:00
"delete": {
2016-11-02 17:50:05 +03:00
"start": [
7,
3
],
"end": [
7,
4
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'b' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
2016-11-02 21:37:30 +03:00
"delete": {
2016-11-02 17:50:05 +03:00
"start": [
7,
2016-11-02 21:37:30 +03:00
6
2016-11-02 17:50:05 +03:00
],
"end": [
7,
2016-11-02 21:37:30 +03:00
7
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'c' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
2016-11-02 21:37:30 +03:00
"delete": {
2016-11-02 17:50:05 +03:00
"start": [
2016-11-02 21:37:30 +03:00
8,
1
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
8,
2
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'z' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
2016-11-02 21:37:30 +03:00
"delete": {
2016-11-02 17:50:05 +03:00
"start": [
2016-11-02 21:37:30 +03:00
8,
3
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
8,
4
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'b' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
2016-11-02 21:37:30 +03:00
"delete": {
2016-11-02 17:50:05 +03:00
"start": [
8,
5
],
"end": [
8,
6
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'c' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
6,
1
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
6,
2
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'a' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
6,
3
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
6,
4
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'b' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
6,
6
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
6,
7
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'c' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
7,
1
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
7,
2
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'b' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
7,
3
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
7,
4
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'b' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
7,
2016-11-02 17:50:05 +03:00
6
],
"end": [
2016-11-02 21:37:30 +03:00
7,
2016-11-02 17:50:05 +03:00
7
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'c' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
8,
1
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
8,
2
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'c' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
8,
3
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
8,
4
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'b' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
8,
5
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
8,
6
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added the 'c' identifier"
2016-11-02 17:50:05 +03:00
}
]
},
"errors": {}
},
"filePaths": [
2016-11-02 21:37:30 +03:00
"call-expressions.go"
2016-11-02 17:50:05 +03:00
],
2016-11-02 23:29:27 +03:00
"sha1": "53e98be4ab2385a69cb43839026433369c411681",
2016-11-02 17:50:05 +03:00
"gitDir": "test/corpus/repos/go",
2016-11-02 23:29:27 +03:00
"sha2": "4c75a5a3261ea2514a1bbc76606f6ce98581b68e"
2016-11-02 17:50:05 +03:00
}
,{
2016-11-02 21:37:30 +03:00
"testCaseDescription": "go-call-expressions-delete-test",
2016-11-02 17:50:05 +03:00
"expectedResult": {
"changes": {
2016-11-02 21:37:30 +03:00
"call-expressions.go": [
2016-11-02 17:50:05 +03:00
{
"span": {
"delete": {
"start": [
3,
2016-11-02 21:37:30 +03:00
1
2016-11-02 17:50:05 +03:00
],
"end": [
3,
2016-11-02 21:37:30 +03:00
2
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'x' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"delete": {
"start": [
3,
2016-11-02 21:37:30 +03:00
3
2016-11-02 17:50:05 +03:00
],
"end": [
3,
2016-11-02 21:37:30 +03:00
4
2016-11-02 17:50:05 +03:00
]
}
},
"summary": "Deleted the 'b' identifier"
},
{
"span": {
"delete": {
"start": [
3,
2016-11-02 21:37:30 +03:00
6
2016-11-02 17:50:05 +03:00
],
"end": [
3,
2016-11-02 21:37:30 +03:00
7
2016-11-02 17:50:05 +03:00
]
}
},
"summary": "Deleted the 'c' identifier"
},
{
"span": {
"delete": {
"start": [
4,
2016-11-02 21:37:30 +03:00
1
2016-11-02 17:50:05 +03:00
],
"end": [
4,
2016-11-02 21:37:30 +03:00
2
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'y' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"delete": {
"start": [
4,
2016-11-02 21:37:30 +03:00
3
2016-11-02 17:50:05 +03:00
],
"end": [
4,
2016-11-02 21:37:30 +03:00
4
2016-11-02 17:50:05 +03:00
]
}
},
"summary": "Deleted the 'b' identifier"
},
{
"span": {
"delete": {
"start": [
4,
2016-11-02 21:37:30 +03:00
6
2016-11-02 17:50:05 +03:00
],
"end": [
4,
2016-11-02 21:37:30 +03:00
7
2016-11-02 17:50:05 +03:00
]
}
},
"summary": "Deleted the 'c' identifier"
},
{
"span": {
"delete": {
"start": [
5,
2016-11-02 21:37:30 +03:00
1
2016-11-02 17:50:05 +03:00
],
"end": [
5,
2016-11-02 21:37:30 +03:00
2
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'z' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"delete": {
"start": [
5,
3
],
"end": [
2016-11-02 21:37:30 +03:00
5,
2016-11-02 17:50:05 +03:00
4
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'b' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-02 21:37:30 +03:00
5,
2016-11-02 17:50:05 +03:00
5
],
"end": [
2016-11-02 21:37:30 +03:00
5,
2016-11-02 17:50:05 +03:00
6
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted the 'c' identifier"
2016-11-02 17:50:05 +03:00
}
]
},
"errors": {}
},
"filePaths": [
2016-11-02 21:37:30 +03:00
"call-expressions.go"
2016-11-02 17:50:05 +03:00
],
2016-11-02 23:29:27 +03:00
"sha1": "4c75a5a3261ea2514a1bbc76606f6ce98581b68e",
2016-11-02 17:50:05 +03:00
"gitDir": "test/corpus/repos/go",
2016-11-02 23:29:27 +03:00
"sha2": "dc4f519beedbdf0bcf8cabea0a97b66bd551caeb"
2016-11-02 17:50:05 +03:00
}
,{
2016-11-02 21:37:30 +03:00
"testCaseDescription": "go-call-expressions-delete-rest-test",
2016-11-02 17:50:05 +03:00
"expectedResult": {
"changes": {
2016-11-02 21:37:30 +03:00
"call-expressions.go": [
2016-11-02 17:50:05 +03:00
{
"span": {
"replace": [
{
"start": [
1,
1
],
"end": [
1,
13
]
},
{
"start": [
1,
1
],
"end": [
3,
1
2016-11-02 17:50:05 +03:00
]
}
]
},
"summary": "Replaced the 'main' module with the 'main' module"
2016-11-02 17:50:05 +03:00
}
]
},
"errors": {}
},
"filePaths": [
2016-11-02 21:37:30 +03:00
"call-expressions.go"
2016-11-02 17:50:05 +03:00
],
2016-11-02 23:29:27 +03:00
"sha1": "dc4f519beedbdf0bcf8cabea0a97b66bd551caeb",
2016-11-02 17:50:05 +03:00
"gitDir": "test/corpus/repos/go",
2016-11-02 23:29:27 +03:00
"sha2": "fca2d1cef8bc7fc0e3f5595ab996f1d46cd5d8a7"
2016-11-02 17:50:05 +03:00
}]