1
1
mirror of https://github.com/github/semantic.git synced 2024-12-23 14:54:16 +03:00
semantic/test/corpus/diff-summaries/go/indexing-expressions.json

1586 lines
49 KiB
JSON
Raw Normal View History

2016-11-02 17:50:05 +03:00
[{
2016-11-02 21:37:30 +03:00
"testCaseDescription": "go-indexing-expressions-insert-test",
2016-11-02 17:50:05 +03:00
"expectedResult": {
"changes": {
2016-11-02 21:37:30 +03:00
"indexing-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
"indexing-expressions.go"
2016-11-02 17:50:05 +03:00
],
2016-11-10 23:36:44 +03:00
"sha1": "7a0e56fcfbef48bf43e71d2d33c4b74a2cf05cb5",
2016-11-02 17:50:05 +03:00
"gitDir": "test/corpus/repos/go",
2016-11-10 23:36:44 +03:00
"sha2": "b44d19f6acfc5bbf67f6886339ea690f4d07fc49"
2016-11-02 17:50:05 +03:00
}
,{
2016-11-02 21:37:30 +03:00
"testCaseDescription": "go-indexing-expressions-replacement-insert-test",
2016-11-02 17:50:05 +03:00
"expectedResult": {
"changes": {
2016-11-02 21:37:30 +03:00
"indexing-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 'z' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
3,
2016-11-02 21:37:30 +03:00
4
2016-11-02 17:50:05 +03:00
],
"end": [
3,
2016-11-02 21:37:30 +03:00
5
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added '2'"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
4,
2
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
4,
3
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added 'y' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
4,
5
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
4,
6
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added '1'"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
5,
2
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
5,
3
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added 'x' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
5,
4
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
5,
5
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added '1'"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
6,
2
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
6,
3
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added 'd' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
6,
4
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
6,
5
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added '1'"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
6,
6
],
"end": [
6,
7
]
}
},
"summary": "Added '2'"
},
{
"span": {
"insert": {
"start": [
7,
2016-11-02 17:50:05 +03:00
2
],
"end": [
2016-11-02 21:37:30 +03:00
7,
2016-11-02 17:50:05 +03:00
3
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added 'e' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
7,
5
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
7,
6
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added '2'"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
7,
7
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
7,
8
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added '3'"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
8,
2
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
8,
3
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added 'f' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
8,
4
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
8,
5
]
}
},
"summary": "Added '1'"
},
{
"span": {
"insert": {
"start": [
8,
2016-11-02 17:50:05 +03:00
6
2016-11-02 21:37:30 +03:00
],
"end": [
8,
7
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added '2'"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
8,
2016-11-02 17:50:05 +03:00
8
],
"end": [
2016-11-02 21:37:30 +03:00
8,
2016-11-02 17:50:05 +03:00
9
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added '3'"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
9,
1
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
9,
2
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added 'a' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
9,
3
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
9,
4
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added '1'"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
10,
2
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
10,
3
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
11,
2
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
11,
3
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added 'c' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
11,
4
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
11,
5
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added '1'"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
12,
2
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
12,
3
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added 'd' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
12,
4
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
12,
5
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added '1'"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
12,
6
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
12,
7
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added '2'"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
13,
2016-11-02 17:50:05 +03:00
2
],
"end": [
2016-11-02 21:37:30 +03:00
13,
2016-11-02 17:50:05 +03:00
3
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added 'e' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
13,
5
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
13,
6
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added '2'"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
13,
7
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
13,
8
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added '3'"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
14,
2
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
14,
3
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added 'f' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
14,
4
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
14,
5
]
}
},
"summary": "Added '1'"
},
{
"span": {
"insert": {
"start": [
14,
2016-11-02 17:50:05 +03:00
6
2016-11-02 21:37:30 +03:00
],
"end": [
14,
7
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added '2'"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
14,
2016-11-02 17:50:05 +03:00
8
],
"end": [
2016-11-02 21:37:30 +03:00
14,
2016-11-02 17:50:05 +03:00
9
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added '3'"
2016-11-02 17:50:05 +03:00
}
]
},
"errors": {}
},
"filePaths": [
2016-11-02 21:37:30 +03:00
"indexing-expressions.go"
2016-11-02 17:50:05 +03:00
],
2016-11-10 23:36:44 +03:00
"sha1": "b44d19f6acfc5bbf67f6886339ea690f4d07fc49",
2016-11-02 17:50:05 +03:00
"gitDir": "test/corpus/repos/go",
2016-11-10 23:36:44 +03:00
"sha2": "fe41e0eb66aad5a1df8f5ffdf95e876d0175ffba"
2016-11-02 17:50:05 +03:00
}
,{
2016-11-02 21:37:30 +03:00
"testCaseDescription": "go-indexing-expressions-delete-insert-test",
2016-11-02 17:50:05 +03:00
"expectedResult": {
"changes": {
2016-11-02 21:37:30 +03:00
"indexing-expressions.go": [
{
"span": {
"insert": {
"start": [
3,
1
],
"end": [
3,
2
]
}
},
"summary": "Added 'a' identifier"
},
{
"span": {
"insert": {
"start": [
3,
3
],
"end": [
3,
4
]
}
},
"summary": "Added '1'"
},
{
"span": {
"insert": {
"start": [
4,
2
],
"end": [
4,
3
]
}
},
"summary": "Added the 'b' identifier"
},
2016-11-02 17:50:05 +03:00
{
"span": {
"replace": [
{
"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
]
},
{
"start": [
2016-11-02 21:37:30 +03:00
5,
2
2016-11-02 17:50:05 +03:00
],
"end": [
5,
2016-11-02 21:37:30 +03:00
3
2016-11-02 17:50:05 +03:00
]
}
]
},
2016-11-02 21:37:30 +03:00
"summary": "Replaced the 'z' identifier with the 'c' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"replace": [
{
"start": [
2016-11-02 21:37:30 +03:00
3,
4
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
3,
5
2016-11-02 17:50:05 +03:00
]
},
{
"start": [
5,
4
],
"end": [
2016-11-02 21:37:30 +03:00
5,
2016-11-02 17:50:05 +03:00
5
]
}
]
},
2016-11-02 21:37:30 +03:00
"summary": "Replaced '2' with '1'"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-02 21:37:30 +03:00
4,
2
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
4,
3
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted '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
5
],
"end": [
2016-11-02 21:37:30 +03:00
4,
2016-11-02 17:50:05 +03:00
6
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted '1'"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-02 21:37:30 +03:00
5,
2
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
5,
3
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted 'x' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-02 21:37:30 +03:00
5,
4
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
5,
5
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted '1'"
}
]
},
"errors": {}
},
"filePaths": [
"indexing-expressions.go"
],
2016-11-10 23:36:44 +03:00
"sha1": "fe41e0eb66aad5a1df8f5ffdf95e876d0175ffba",
2016-11-02 21:37:30 +03:00
"gitDir": "test/corpus/repos/go",
2016-11-10 23:36:44 +03:00
"sha2": "198518baec67c944e513ebc65d82c6ffde6542b8"
2016-11-02 21:37:30 +03:00
}
,{
"testCaseDescription": "go-indexing-expressions-replacement-test",
"expectedResult": {
"changes": {
"indexing-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": [
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": "Added 'z' 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
3,
4
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
3,
5
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added '2'"
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
2
2016-11-02 17:50:05 +03:00
],
"end": [
4,
2016-11-02 21:37:30 +03:00
3
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added 'y' 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
5
2016-11-02 17:50:05 +03:00
],
"end": [
4,
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 '1'"
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,
2
],
"end": [
5,
3
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added 'x' 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,
4
],
"end": [
5,
5
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added '1'"
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 'a' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-02 21:37:30 +03:00
3,
2016-11-02 17:50:05 +03:00
3
],
"end": [
2016-11-02 21:37:30 +03:00
3,
2016-11-02 17:50:05 +03:00
4
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted '1'"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-02 21:37:30 +03:00
4,
2
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
4,
3
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,
2
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
5,
3
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted 'c' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-02 21:37:30 +03:00
5,
4
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
5,
5
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted '1'"
}
]
},
"errors": {}
},
"filePaths": [
"indexing-expressions.go"
],
2016-11-10 23:36:44 +03:00
"sha1": "198518baec67c944e513ebc65d82c6ffde6542b8",
2016-11-02 21:37:30 +03:00
"gitDir": "test/corpus/repos/go",
2016-11-10 23:36:44 +03:00
"sha2": "c2eab21985363577dad0d08638c5060ab80a8e25"
2016-11-02 21:37:30 +03:00
}
,{
"testCaseDescription": "go-indexing-expressions-delete-replacement-test",
"expectedResult": {
"changes": {
"indexing-expressions.go": [
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 'z' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-02 21:37:30 +03:00
3,
4
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
3,
5
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted '2'"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-02 21:37:30 +03:00
4,
2
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
4,
3
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted '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
5
],
"end": [
2016-11-02 21:37:30 +03:00
4,
2016-11-02 17:50:05 +03:00
6
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted '1'"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-02 21:37:30 +03:00
5,
2
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
5,
3
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted 'x' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-02 21:37:30 +03:00
5,
4
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
5,
5
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted '1'"
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
2
],
"end": [
2016-11-02 21:37:30 +03:00
6,
2016-11-02 17:50:05 +03:00
3
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted 'd' 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
4
],
"end": [
2016-11-02 21:37:30 +03:00
6,
2016-11-02 17:50:05 +03:00
5
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted '1'"
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
6
],
"end": [
2016-11-02 21:37:30 +03:00
6,
2016-11-02 17:50:05 +03:00
7
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted '2'"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-02 21:37:30 +03:00
7,
2
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
7,
3
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted 'e' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-02 21:37:30 +03:00
7,
2016-11-02 17:50:05 +03:00
5
],
"end": [
2016-11-02 21:37:30 +03:00
7,
2016-11-02 17:50:05 +03:00
6
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted '2'"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-02 21:37:30 +03:00
7,
7
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
7,
8
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted '3'"
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,
2
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
8,
3
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted 'f' 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,
4
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
8,
5
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted '1'"
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,
6
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
8,
7
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted '2'"
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,
8
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
8,
9
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted '3'"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
9,
1
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
9,
2
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added 'z' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
9,
4
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
9,
5
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added '2'"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
10,
2
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
10,
3
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added 'y' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
10,
5
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
10,
6
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added '1'"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
11,
2016-11-02 17:50:05 +03:00
2
],
"end": [
2016-11-02 21:37:30 +03:00
11,
2016-11-02 17:50:05 +03:00
3
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added 'x' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"insert": {
"start": [
2016-11-02 21:37:30 +03:00
11,
2016-11-02 17:50:05 +03:00
4
],
"end": [
2016-11-02 21:37:30 +03:00
11,
2016-11-02 17:50:05 +03:00
5
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Added '1'"
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
15,
1
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
15,
2
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted 'a' 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
15,
2016-11-02 17:50:05 +03:00
3
],
"end": [
2016-11-02 21:37:30 +03:00
15,
2016-11-02 17:50:05 +03:00
4
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted '1'"
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
16,
2
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
16,
3
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": [
2016-11-02 21:37:30 +03:00
17,
2
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
17,
3
]
}
},
"summary": "Deleted 'c' identifier"
},
{
"span": {
"delete": {
"start": [
17,
4
],
"end": [
17,
5
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted '1'"
2016-11-02 17:50:05 +03:00
}
]
},
"errors": {}
},
"filePaths": [
2016-11-02 21:37:30 +03:00
"indexing-expressions.go"
2016-11-02 17:50:05 +03:00
],
2016-11-10 23:36:44 +03:00
"sha1": "c2eab21985363577dad0d08638c5060ab80a8e25",
2016-11-02 17:50:05 +03:00
"gitDir": "test/corpus/repos/go",
2016-11-10 23:36:44 +03:00
"sha2": "076c02eb4827aba2c39dc79d8866d1b4136c769e"
2016-11-02 17:50:05 +03:00
}
,{
2016-11-02 21:37:30 +03:00
"testCaseDescription": "go-indexing-expressions-delete-test",
2016-11-02 17:50:05 +03:00
"expectedResult": {
"changes": {
2016-11-02 21:37:30 +03:00
"indexing-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 'a' 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
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted '1'"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-02 21:37:30 +03:00
4,
2
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
4,
3
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,
2
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
5,
3
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted 'c' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-02 21:37:30 +03:00
5,
4
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
5,
5
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted '1'"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-02 21:37:30 +03:00
6,
2
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
6,
3
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted 'd' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-02 21:37:30 +03:00
6,
4
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
6,
5
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted '1'"
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 '2'"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-02 21:37:30 +03:00
7,
2016-11-02 17:50:05 +03:00
2
],
"end": [
2016-11-02 21:37:30 +03:00
7,
2016-11-02 17:50:05 +03:00
3
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted 'e' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-02 21:37:30 +03:00
7,
5
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
7,
6
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted '2'"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-02 21:37:30 +03:00
7,
7
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
7,
8
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted '3'"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-02 21:37:30 +03:00
8,
2
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
8,
3
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted 'f' identifier"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-02 21:37:30 +03:00
8,
4
2016-11-02 17:50:05 +03:00
],
"end": [
2016-11-02 21:37:30 +03:00
8,
5
]
}
},
"summary": "Deleted '1'"
},
{
"span": {
"delete": {
"start": [
8,
2016-11-02 17:50:05 +03:00
6
2016-11-02 21:37:30 +03:00
],
"end": [
8,
7
2016-11-02 17:50:05 +03:00
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted '2'"
2016-11-02 17:50:05 +03:00
},
{
"span": {
"delete": {
"start": [
2016-11-02 21:37:30 +03:00
8,
2016-11-02 17:50:05 +03:00
8
],
"end": [
2016-11-02 21:37:30 +03:00
8,
2016-11-02 17:50:05 +03:00
9
]
}
},
2016-11-02 21:37:30 +03:00
"summary": "Deleted '3'"
2016-11-02 17:50:05 +03:00
}
]
},
"errors": {}
},
"filePaths": [
2016-11-02 21:37:30 +03:00
"indexing-expressions.go"
2016-11-02 17:50:05 +03:00
],
2016-11-10 23:36:44 +03:00
"sha1": "076c02eb4827aba2c39dc79d8866d1b4136c769e",
2016-11-02 17:50:05 +03:00
"gitDir": "test/corpus/repos/go",
2016-11-10 23:36:44 +03:00
"sha2": "760d60991b3e9d36763fe9115f4162a5b01f40ec"
2016-11-02 17:50:05 +03:00
}
,{
2016-11-02 21:37:30 +03:00
"testCaseDescription": "go-indexing-expressions-delete-rest-test",
2016-11-02 17:50:05 +03:00
"expectedResult": {
"changes": {
2016-11-02 21:37:30 +03:00
"indexing-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 'main' module with 'main' module"
2016-11-02 17:50:05 +03:00
}
]
},
"errors": {}
},
"filePaths": [
2016-11-02 21:37:30 +03:00
"indexing-expressions.go"
2016-11-02 17:50:05 +03:00
],
2016-11-10 23:36:44 +03:00
"sha1": "760d60991b3e9d36763fe9115f4162a5b01f40ec",
2016-11-02 17:50:05 +03:00
"gitDir": "test/corpus/repos/go",
2016-11-10 23:36:44 +03:00
"sha2": "b1669d02e282b6c97db8719b314b3fc45b149496"
2016-11-02 17:50:05 +03:00
}]