2016-10-24 20:43:31 +03:00
|
|
|
[{
|
2016-10-31 23:21:58 +03:00
|
|
|
"testCaseDescription": "ruby-math-assignment-insert-test",
|
2016-10-24 20:43:31 +03:00
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
2016-10-31 23:21:58 +03:00
|
|
|
"math-assignment.rb": [
|
2016-10-24 20:43:31 +03:00
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"insert": {
|
|
|
|
"start": [
|
|
|
|
1,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
1,
|
|
|
|
7
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Added the 'x' math assignment"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"insert": {
|
|
|
|
"start": [
|
|
|
|
2,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
2,
|
|
|
|
7
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Added the 'x' math assignment"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"insert": {
|
|
|
|
"start": [
|
|
|
|
3,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
3,
|
|
|
|
7
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Added the 'x' math assignment"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"insert": {
|
|
|
|
"start": [
|
|
|
|
4,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
4,
|
2016-10-25 21:36:30 +03:00
|
|
|
7
|
2016-10-24 20:43:31 +03:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2016-10-25 21:36:30 +03:00
|
|
|
"summary": "Added the 'x' math assignment"
|
|
|
|
},
|
2016-10-24 20:43:31 +03:00
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"insert": {
|
|
|
|
"start": [
|
2016-10-25 21:36:30 +03:00
|
|
|
5,
|
|
|
|
1
|
2016-10-24 20:43:31 +03:00
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
5,
|
|
|
|
8
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2016-10-25 21:36:30 +03:00
|
|
|
"summary": "Added the 'x' math assignment"
|
2016-10-24 20:43:31 +03:00
|
|
|
}
|
|
|
|
]
|
2016-10-25 21:36:30 +03:00
|
|
|
},
|
|
|
|
"errors": {}
|
2016-10-24 20:43:31 +03:00
|
|
|
},
|
|
|
|
"filePaths": [
|
2016-10-31 23:21:58 +03:00
|
|
|
"math-assignment.rb"
|
2016-10-24 20:43:31 +03:00
|
|
|
],
|
2016-11-02 20:52:40 +03:00
|
|
|
"sha1": "3c53c22b9707f1ec06bfdbe21093d2bf46996a6f",
|
2016-10-24 20:43:31 +03:00
|
|
|
"gitDir": "test/corpus/repos/ruby",
|
2016-11-02 20:52:40 +03:00
|
|
|
"sha2": "1cb0c2832f46815909027bf1f539c8c052be8348"
|
2016-10-24 20:43:31 +03:00
|
|
|
}
|
|
|
|
,{
|
2016-10-31 23:21:58 +03:00
|
|
|
"testCaseDescription": "ruby-math-assignment-replacement-insert-test",
|
2016-10-24 20:43:31 +03:00
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
2016-10-31 23:21:58 +03:00
|
|
|
"math-assignment.rb": [
|
2016-10-24 20:43:31 +03:00
|
|
|
{
|
|
|
|
"span": {
|
2016-10-25 21:36:30 +03:00
|
|
|
"insert": {
|
|
|
|
"start": [
|
|
|
|
1,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
1,
|
|
|
|
6
|
|
|
|
]
|
|
|
|
}
|
2016-10-24 20:43:31 +03:00
|
|
|
},
|
2016-10-25 21:36:30 +03:00
|
|
|
"summary": "Added the 'x' math assignment"
|
2016-10-24 20:43:31 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"insert": {
|
|
|
|
"start": [
|
2016-10-25 21:36:30 +03:00
|
|
|
2,
|
2016-10-24 20:43:31 +03:00
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
2016-10-25 21:36:30 +03:00
|
|
|
2,
|
|
|
|
7
|
2016-10-24 20:43:31 +03:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2016-10-25 21:36:30 +03:00
|
|
|
"summary": "Added the 'x' math assignment"
|
2016-10-24 20:43:31 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"insert": {
|
|
|
|
"start": [
|
2016-10-25 21:36:30 +03:00
|
|
|
3,
|
|
|
|
1
|
2016-10-24 20:43:31 +03:00
|
|
|
],
|
|
|
|
"end": [
|
2016-10-25 21:36:30 +03:00
|
|
|
3,
|
|
|
|
7
|
2016-10-24 20:43:31 +03:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2016-10-25 21:36:30 +03:00
|
|
|
"summary": "Added the 'x' math assignment"
|
2016-10-24 20:43:31 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
2016-10-25 21:36:30 +03:00
|
|
|
"insert": {
|
2016-10-24 20:43:31 +03:00
|
|
|
"start": [
|
|
|
|
4,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
4,
|
2016-10-25 21:36:30 +03:00
|
|
|
7
|
2016-10-24 20:43:31 +03:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2016-10-25 21:36:30 +03:00
|
|
|
"summary": "Added the 'x' math assignment"
|
|
|
|
},
|
2016-10-24 20:43:31 +03:00
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"insert": {
|
|
|
|
"start": [
|
2016-10-25 21:36:30 +03:00
|
|
|
5,
|
|
|
|
1
|
2016-10-24 20:43:31 +03:00
|
|
|
],
|
|
|
|
"end": [
|
2016-10-25 21:36:30 +03:00
|
|
|
5,
|
|
|
|
8
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Added the 'x' math assignment"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"insert": {
|
|
|
|
"start": [
|
|
|
|
6,
|
2016-10-24 20:43:31 +03:00
|
|
|
1
|
2016-10-25 21:36:30 +03:00
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
6,
|
|
|
|
7
|
2016-10-24 20:43:31 +03:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2016-10-25 21:36:30 +03:00
|
|
|
"summary": "Added the 'x' math assignment"
|
2016-10-24 20:43:31 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
2016-10-25 21:36:30 +03:00
|
|
|
"insert": {
|
2016-10-24 20:43:31 +03:00
|
|
|
"start": [
|
2016-10-25 21:36:30 +03:00
|
|
|
7,
|
|
|
|
1
|
2016-10-24 20:43:31 +03:00
|
|
|
],
|
|
|
|
"end": [
|
2016-10-25 21:36:30 +03:00
|
|
|
7,
|
|
|
|
7
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Added the 'x' math assignment"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"insert": {
|
|
|
|
"start": [
|
|
|
|
8,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
8,
|
|
|
|
7
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Added the 'x' math assignment"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"insert": {
|
|
|
|
"start": [
|
|
|
|
9,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
9,
|
|
|
|
7
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Added the 'x' math assignment"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"insert": {
|
|
|
|
"start": [
|
|
|
|
10,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
10,
|
2016-10-24 20:43:31 +03:00
|
|
|
8
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2016-10-25 21:36:30 +03:00
|
|
|
"summary": "Added the 'x' math assignment"
|
2016-10-24 20:43:31 +03:00
|
|
|
}
|
|
|
|
]
|
2016-10-25 21:36:30 +03:00
|
|
|
},
|
|
|
|
"errors": {}
|
2016-10-24 20:43:31 +03:00
|
|
|
},
|
|
|
|
"filePaths": [
|
2016-10-31 23:21:58 +03:00
|
|
|
"math-assignment.rb"
|
2016-10-24 20:43:31 +03:00
|
|
|
],
|
2016-11-02 20:52:40 +03:00
|
|
|
"sha1": "1cb0c2832f46815909027bf1f539c8c052be8348",
|
2016-10-24 20:43:31 +03:00
|
|
|
"gitDir": "test/corpus/repos/ruby",
|
2016-11-02 20:52:40 +03:00
|
|
|
"sha2": "1915d0bed722cf0fb3f48687e7fd6a3a465150cb"
|
2016-10-24 20:43:31 +03:00
|
|
|
}
|
|
|
|
,{
|
2016-10-31 23:21:58 +03:00
|
|
|
"testCaseDescription": "ruby-math-assignment-delete-insert-test",
|
2016-10-24 20:43:31 +03:00
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
2016-10-31 23:21:58 +03:00
|
|
|
"math-assignment.rb": [
|
2016-10-24 20:43:31 +03:00
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"replace": [
|
|
|
|
{
|
|
|
|
"start": [
|
|
|
|
1,
|
|
|
|
5
|
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
1,
|
|
|
|
6
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"start": [
|
|
|
|
1,
|
|
|
|
6
|
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
1,
|
|
|
|
7
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2016-11-02 20:52:40 +03:00
|
|
|
"summary": "Replaced '2' with '1' in the math assignment"
|
2016-10-24 20:43:31 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
2016-10-31 23:21:58 +03:00
|
|
|
"math-assignment.rb"
|
2016-10-24 20:43:31 +03:00
|
|
|
],
|
2016-11-02 20:52:40 +03:00
|
|
|
"sha1": "1915d0bed722cf0fb3f48687e7fd6a3a465150cb",
|
2016-10-24 20:43:31 +03:00
|
|
|
"gitDir": "test/corpus/repos/ruby",
|
2016-11-02 20:52:40 +03:00
|
|
|
"sha2": "85b2f4875d8f977715bd270ae23d2816564e28f5"
|
2016-10-24 20:43:31 +03:00
|
|
|
}
|
|
|
|
,{
|
2016-10-31 23:21:58 +03:00
|
|
|
"testCaseDescription": "ruby-math-assignment-replacement-test",
|
2016-10-24 20:43:31 +03:00
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
2016-10-31 23:21:58 +03:00
|
|
|
"math-assignment.rb": [
|
2016-10-24 20:43:31 +03:00
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"replace": [
|
|
|
|
{
|
|
|
|
"start": [
|
|
|
|
1,
|
|
|
|
6
|
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
1,
|
|
|
|
7
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"start": [
|
|
|
|
1,
|
|
|
|
5
|
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
1,
|
|
|
|
6
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2016-11-02 20:52:40 +03:00
|
|
|
"summary": "Replaced '1' with '2' in the math assignment"
|
2016-10-24 20:43:31 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
2016-10-31 23:21:58 +03:00
|
|
|
"math-assignment.rb"
|
2016-10-24 20:43:31 +03:00
|
|
|
],
|
2016-11-02 20:52:40 +03:00
|
|
|
"sha1": "85b2f4875d8f977715bd270ae23d2816564e28f5",
|
2016-10-24 20:43:31 +03:00
|
|
|
"gitDir": "test/corpus/repos/ruby",
|
2016-11-02 20:52:40 +03:00
|
|
|
"sha2": "bf5921c4c0ed67e905e3d2993d30627a16c414a9"
|
2016-10-24 20:43:31 +03:00
|
|
|
}
|
|
|
|
,{
|
2016-10-31 23:21:58 +03:00
|
|
|
"testCaseDescription": "ruby-math-assignment-delete-replacement-test",
|
2016-10-24 20:43:31 +03:00
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
2016-10-31 23:21:58 +03:00
|
|
|
"math-assignment.rb": [
|
2016-10-24 20:43:31 +03:00
|
|
|
{
|
|
|
|
"span": {
|
2016-10-25 21:36:30 +03:00
|
|
|
"delete": {
|
|
|
|
"start": [
|
|
|
|
1,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
1,
|
|
|
|
6
|
|
|
|
]
|
|
|
|
}
|
2016-10-24 20:43:31 +03:00
|
|
|
},
|
2016-10-25 21:36:30 +03:00
|
|
|
"summary": "Deleted the 'x' math assignment"
|
2016-10-24 20:43:31 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
2016-10-25 21:36:30 +03:00
|
|
|
"delete": {
|
|
|
|
"start": [
|
|
|
|
2,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
2,
|
|
|
|
7
|
|
|
|
]
|
|
|
|
}
|
2016-10-24 20:43:31 +03:00
|
|
|
},
|
2016-10-25 21:36:30 +03:00
|
|
|
"summary": "Deleted the 'x' math assignment"
|
|
|
|
},
|
2016-10-24 20:43:31 +03:00
|
|
|
{
|
|
|
|
"span": {
|
2016-10-25 21:36:30 +03:00
|
|
|
"delete": {
|
2016-10-24 20:43:31 +03:00
|
|
|
"start": [
|
2016-10-25 21:36:30 +03:00
|
|
|
3,
|
|
|
|
1
|
2016-10-24 20:43:31 +03:00
|
|
|
],
|
|
|
|
"end": [
|
2016-10-25 21:36:30 +03:00
|
|
|
3,
|
|
|
|
7
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Deleted the 'x' math assignment"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"delete": {
|
|
|
|
"start": [
|
|
|
|
4,
|
2016-10-24 20:43:31 +03:00
|
|
|
1
|
2016-10-25 21:36:30 +03:00
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
4,
|
|
|
|
7
|
2016-10-24 20:43:31 +03:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2016-10-25 21:36:30 +03:00
|
|
|
"summary": "Deleted the 'x' math assignment"
|
2016-10-24 20:43:31 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"delete": {
|
|
|
|
"start": [
|
2016-10-25 21:36:30 +03:00
|
|
|
5,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
5,
|
|
|
|
8
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Deleted the 'x' math assignment"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"delete": {
|
|
|
|
"start": [
|
|
|
|
6,
|
|
|
|
1
|
2016-10-24 20:43:31 +03:00
|
|
|
],
|
|
|
|
"end": [
|
2016-10-25 21:36:30 +03:00
|
|
|
6,
|
|
|
|
7
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Deleted the 'x' math assignment"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"insert": {
|
|
|
|
"start": [
|
|
|
|
6,
|
2016-10-24 20:43:31 +03:00
|
|
|
1
|
2016-10-25 21:36:30 +03:00
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
6,
|
|
|
|
6
|
2016-10-24 20:43:31 +03:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2016-10-25 21:36:30 +03:00
|
|
|
"summary": "Added the 'x' math assignment"
|
2016-10-24 20:43:31 +03:00
|
|
|
}
|
|
|
|
]
|
2016-10-25 21:36:30 +03:00
|
|
|
},
|
|
|
|
"errors": {}
|
2016-10-24 20:43:31 +03:00
|
|
|
},
|
|
|
|
"filePaths": [
|
2016-10-31 23:21:58 +03:00
|
|
|
"math-assignment.rb"
|
2016-10-24 20:43:31 +03:00
|
|
|
],
|
2016-11-02 20:52:40 +03:00
|
|
|
"sha1": "bf5921c4c0ed67e905e3d2993d30627a16c414a9",
|
2016-10-24 20:43:31 +03:00
|
|
|
"gitDir": "test/corpus/repos/ruby",
|
2016-11-02 20:52:40 +03:00
|
|
|
"sha2": "110fbe6761e409c79af0373b5e63c7e381f3c4aa"
|
2016-10-24 20:43:31 +03:00
|
|
|
}
|
|
|
|
,{
|
2016-10-31 23:21:58 +03:00
|
|
|
"testCaseDescription": "ruby-math-assignment-delete-test",
|
2016-10-24 20:43:31 +03:00
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
2016-10-31 23:21:58 +03:00
|
|
|
"math-assignment.rb": [
|
2016-10-24 20:43:31 +03:00
|
|
|
{
|
|
|
|
"span": {
|
2016-10-25 21:36:30 +03:00
|
|
|
"delete": {
|
2016-10-24 20:43:31 +03:00
|
|
|
"start": [
|
2016-10-25 21:36:30 +03:00
|
|
|
1,
|
2016-10-24 20:43:31 +03:00
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
2016-10-25 21:36:30 +03:00
|
|
|
1,
|
|
|
|
7
|
2016-10-24 20:43:31 +03:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2016-10-25 21:36:30 +03:00
|
|
|
"summary": "Deleted the 'x' math assignment"
|
2016-10-24 20:43:31 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"delete": {
|
|
|
|
"start": [
|
2016-10-25 21:36:30 +03:00
|
|
|
2,
|
2016-10-24 20:43:31 +03:00
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
2016-10-25 21:36:30 +03:00
|
|
|
2,
|
|
|
|
7
|
2016-10-24 20:43:31 +03:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2016-10-25 21:36:30 +03:00
|
|
|
"summary": "Deleted the 'x' math assignment"
|
2016-10-24 20:43:31 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"delete": {
|
|
|
|
"start": [
|
2016-10-25 21:36:30 +03:00
|
|
|
3,
|
|
|
|
1
|
2016-10-24 20:43:31 +03:00
|
|
|
],
|
|
|
|
"end": [
|
2016-10-25 21:36:30 +03:00
|
|
|
3,
|
|
|
|
7
|
2016-10-24 20:43:31 +03:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2016-10-25 21:36:30 +03:00
|
|
|
"summary": "Deleted the 'x' math assignment"
|
|
|
|
},
|
2016-10-24 20:43:31 +03:00
|
|
|
{
|
|
|
|
"span": {
|
2016-10-25 21:36:30 +03:00
|
|
|
"delete": {
|
2016-10-24 20:43:31 +03:00
|
|
|
"start": [
|
|
|
|
4,
|
2016-10-25 21:36:30 +03:00
|
|
|
1
|
2016-10-24 20:43:31 +03:00
|
|
|
],
|
|
|
|
"end": [
|
2016-10-25 21:36:30 +03:00
|
|
|
4,
|
|
|
|
7
|
2016-10-24 20:43:31 +03:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2016-10-25 21:36:30 +03:00
|
|
|
"summary": "Deleted the 'x' math assignment"
|
2016-10-24 20:43:31 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"delete": {
|
|
|
|
"start": [
|
2016-10-25 21:36:30 +03:00
|
|
|
5,
|
|
|
|
1
|
2016-10-24 20:43:31 +03:00
|
|
|
],
|
|
|
|
"end": [
|
2016-10-25 21:36:30 +03:00
|
|
|
5,
|
|
|
|
8
|
2016-10-24 20:43:31 +03:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2016-10-25 21:36:30 +03:00
|
|
|
"summary": "Deleted the 'x' math assignment"
|
2016-10-24 20:43:31 +03:00
|
|
|
}
|
|
|
|
]
|
2016-10-25 21:36:30 +03:00
|
|
|
},
|
|
|
|
"errors": {}
|
2016-10-24 20:43:31 +03:00
|
|
|
},
|
|
|
|
"filePaths": [
|
2016-10-31 23:21:58 +03:00
|
|
|
"math-assignment.rb"
|
2016-10-24 20:43:31 +03:00
|
|
|
],
|
2016-11-02 20:52:40 +03:00
|
|
|
"sha1": "110fbe6761e409c79af0373b5e63c7e381f3c4aa",
|
2016-10-24 20:43:31 +03:00
|
|
|
"gitDir": "test/corpus/repos/ruby",
|
2016-11-02 20:52:40 +03:00
|
|
|
"sha2": "4b5185e4e5b5b24efcb82e67acf0cf1e3fdd7147"
|
2016-10-24 20:43:31 +03:00
|
|
|
}
|
|
|
|
,{
|
2016-10-31 23:21:58 +03:00
|
|
|
"testCaseDescription": "ruby-math-assignment-delete-rest-test",
|
2016-10-24 20:43:31 +03:00
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
2016-10-31 23:21:58 +03:00
|
|
|
"math-assignment.rb": [
|
2016-10-24 20:43:31 +03:00
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"delete": {
|
|
|
|
"start": [
|
|
|
|
1,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
1,
|
|
|
|
6
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Deleted the 'x' math assignment"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"delete": {
|
|
|
|
"start": [
|
|
|
|
2,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
2,
|
|
|
|
7
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Deleted the 'x' math assignment"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"delete": {
|
|
|
|
"start": [
|
|
|
|
3,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
3,
|
|
|
|
7
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"summary": "Deleted the 'x' math assignment"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"delete": {
|
|
|
|
"start": [
|
|
|
|
4,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
4,
|
2016-10-25 21:36:30 +03:00
|
|
|
7
|
2016-10-24 20:43:31 +03:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2016-10-25 21:36:30 +03:00
|
|
|
"summary": "Deleted the 'x' math assignment"
|
|
|
|
},
|
2016-10-24 20:43:31 +03:00
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"delete": {
|
|
|
|
"start": [
|
2016-10-25 21:36:30 +03:00
|
|
|
5,
|
|
|
|
1
|
2016-10-24 20:43:31 +03:00
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
5,
|
|
|
|
8
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2016-10-25 21:36:30 +03:00
|
|
|
"summary": "Deleted the 'x' math assignment"
|
2016-10-24 20:43:31 +03:00
|
|
|
}
|
|
|
|
]
|
2016-10-25 21:36:30 +03:00
|
|
|
},
|
|
|
|
"errors": {}
|
2016-10-24 20:43:31 +03:00
|
|
|
},
|
|
|
|
"filePaths": [
|
2016-10-31 23:21:58 +03:00
|
|
|
"math-assignment.rb"
|
2016-10-24 20:43:31 +03:00
|
|
|
],
|
2016-11-02 20:52:40 +03:00
|
|
|
"sha1": "4b5185e4e5b5b24efcb82e67acf0cf1e3fdd7147",
|
2016-10-24 20:43:31 +03:00
|
|
|
"gitDir": "test/corpus/repos/ruby",
|
2016-11-02 20:52:40 +03:00
|
|
|
"sha2": "3c8ecb84c45ce828f5cd9aca26ae38273556fe8e"
|
2016-10-24 20:43:31 +03:00
|
|
|
}]
|