2016-11-02 18:07:06 +03:00
|
|
|
[{
|
|
|
|
"testCaseDescription": "go-string-literals-insert-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"string-literals.go": [
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"insert": {
|
|
|
|
"start": [
|
2016-11-11 00:19:53 +03:00
|
|
|
1,
|
2016-11-02 18:07:06 +03:00
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
2016-11-11 00:19:53 +03:00
|
|
|
4,
|
2016-11-02 18:07:06 +03:00
|
|
|
2
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2016-11-02 22:43:26 +03:00
|
|
|
"summary": "Added the 'a' variable"
|
2016-11-02 22:25:50 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"insert": {
|
|
|
|
"start": [
|
2016-11-11 00:19:53 +03:00
|
|
|
1,
|
2016-11-02 22:25:50 +03:00
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
2016-11-11 00:19:53 +03:00
|
|
|
4,
|
2016-11-02 22:25:50 +03:00
|
|
|
2
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2016-11-02 22:43:26 +03:00
|
|
|
"summary": "Added the 'b' variable"
|
2016-11-02 18:07:06 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"string-literals.go"
|
|
|
|
],
|
2016-11-11 00:19:53 +03:00
|
|
|
"patch": [
|
|
|
|
"diff --git a/string-literals.go b/string-literals.go",
|
|
|
|
"index e69de29..90ac543 100644",
|
|
|
|
"--- a/string-literals.go",
|
|
|
|
"+++ b/string-literals.go",
|
|
|
|
"@@ -0,0 +1,4 @@",
|
|
|
|
"+const (",
|
|
|
|
"+a = \"0\"",
|
|
|
|
"+b = \"hello world\"",
|
|
|
|
"+)"
|
|
|
|
],
|
2016-11-02 18:07:06 +03:00
|
|
|
"gitDir": "test/corpus/repos/go",
|
2016-11-22 21:51:11 +03:00
|
|
|
"shas": "7c1b0386f5dbef684aa8e24820422e08f1f5c061..b84a88b96d189db6c563e3704ef869b5ea0ed1ab"
|
2016-11-02 18:07:06 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"testCaseDescription": "go-string-literals-replacement-insert-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"string-literals.go": [
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"insert": {
|
|
|
|
"start": [
|
2016-11-11 00:19:53 +03:00
|
|
|
1,
|
2016-11-02 18:07:06 +03:00
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
2016-11-11 00:19:53 +03:00
|
|
|
4,
|
2016-11-02 18:07:06 +03:00
|
|
|
2
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2016-11-02 22:43:26 +03:00
|
|
|
"summary": "Added the 'a' variable"
|
2016-11-02 22:25:50 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"insert": {
|
|
|
|
"start": [
|
2016-11-11 00:19:53 +03:00
|
|
|
1,
|
2016-11-02 22:25:50 +03:00
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
2016-11-11 00:19:53 +03:00
|
|
|
4,
|
2016-11-02 22:25:50 +03:00
|
|
|
2
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2016-11-02 22:43:26 +03:00
|
|
|
"summary": "Added the 'b' variable"
|
2016-11-02 18:07:06 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"insert": {
|
|
|
|
"start": [
|
2016-11-11 00:19:53 +03:00
|
|
|
5,
|
2016-11-02 18:07:06 +03:00
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
2016-11-11 00:19:53 +03:00
|
|
|
8,
|
2016-11-02 18:07:06 +03:00
|
|
|
2
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2016-11-02 22:43:26 +03:00
|
|
|
"summary": "Added the 'a' variable"
|
2016-11-02 22:25:50 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"insert": {
|
|
|
|
"start": [
|
2016-11-11 00:19:53 +03:00
|
|
|
5,
|
2016-11-02 22:25:50 +03:00
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
2016-11-11 00:19:53 +03:00
|
|
|
8,
|
2016-11-02 22:25:50 +03:00
|
|
|
2
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2016-11-02 22:43:26 +03:00
|
|
|
"summary": "Added the 'b' variable"
|
2016-11-02 18:07:06 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"string-literals.go"
|
|
|
|
],
|
2016-11-11 00:19:53 +03:00
|
|
|
"patch": [
|
|
|
|
"diff --git a/string-literals.go b/string-literals.go",
|
|
|
|
"index 90ac543..a781ce7 100644",
|
|
|
|
"--- a/string-literals.go",
|
|
|
|
"+++ b/string-literals.go",
|
|
|
|
"@@ -1,4 +1,12 @@",
|
|
|
|
" const (",
|
|
|
|
"+a = \"2\"",
|
|
|
|
"+b = \"hi\"",
|
|
|
|
"+)",
|
|
|
|
"+const (",
|
|
|
|
"+a = \"0\"",
|
|
|
|
"+b = \"hello world\"",
|
|
|
|
"+)",
|
|
|
|
"+const (",
|
|
|
|
" a = \"0\"",
|
|
|
|
" b = \"hello world\"",
|
|
|
|
" )"
|
|
|
|
],
|
2016-11-02 18:07:06 +03:00
|
|
|
"gitDir": "test/corpus/repos/go",
|
2016-11-22 21:51:11 +03:00
|
|
|
"shas": "b84a88b96d189db6c563e3704ef869b5ea0ed1ab..96718341a4847bff463f489a3eb5ee640bba6af5"
|
2016-11-02 18:07:06 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"testCaseDescription": "go-string-literals-delete-insert-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"string-literals.go": [
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"replace": [
|
|
|
|
{
|
|
|
|
"start": [
|
2016-11-11 00:19:53 +03:00
|
|
|
2,
|
2016-11-02 18:07:06 +03:00
|
|
|
5
|
|
|
|
],
|
|
|
|
"end": [
|
2016-11-11 00:19:53 +03:00
|
|
|
2,
|
2016-11-02 18:07:06 +03:00
|
|
|
8
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"start": [
|
2016-11-11 00:19:53 +03:00
|
|
|
2,
|
2016-11-02 18:07:06 +03:00
|
|
|
5
|
|
|
|
],
|
|
|
|
"end": [
|
2016-11-11 00:19:53 +03:00
|
|
|
2,
|
2016-11-02 18:07:06 +03:00
|
|
|
8
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2016-11-11 00:19:53 +03:00
|
|
|
"summary": "Replaced the \"2\" string with the \"0\" string in the a variable"
|
2016-11-02 18:07:06 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"replace": [
|
|
|
|
{
|
|
|
|
"start": [
|
2016-11-11 00:19:53 +03:00
|
|
|
3,
|
2016-11-02 18:07:06 +03:00
|
|
|
5
|
|
|
|
],
|
|
|
|
"end": [
|
2016-11-11 00:19:53 +03:00
|
|
|
3,
|
2016-11-02 18:07:06 +03:00
|
|
|
9
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"start": [
|
2016-11-11 00:19:53 +03:00
|
|
|
3,
|
2016-11-02 18:07:06 +03:00
|
|
|
5
|
|
|
|
],
|
|
|
|
"end": [
|
2016-11-11 00:19:53 +03:00
|
|
|
3,
|
2016-11-02 18:07:06 +03:00
|
|
|
18
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2016-11-11 00:19:53 +03:00
|
|
|
"summary": "Replaced the \"hi\" string with the \"hello world\" string in the b variable"
|
2016-11-02 18:07:06 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"string-literals.go"
|
|
|
|
],
|
2016-11-11 00:19:53 +03:00
|
|
|
"patch": [
|
|
|
|
"diff --git a/string-literals.go b/string-literals.go",
|
|
|
|
"index a781ce7..e7b83ba 100644",
|
|
|
|
"--- a/string-literals.go",
|
|
|
|
"+++ b/string-literals.go",
|
|
|
|
"@@ -1,6 +1,6 @@",
|
|
|
|
" const (",
|
|
|
|
"-a = \"2\"",
|
|
|
|
"-b = \"hi\"",
|
|
|
|
"+a = \"0\"",
|
|
|
|
"+b = \"hello world\"",
|
|
|
|
" )",
|
|
|
|
" const (",
|
|
|
|
" a = \"0\""
|
|
|
|
],
|
2016-11-02 18:07:06 +03:00
|
|
|
"gitDir": "test/corpus/repos/go",
|
2016-11-22 21:51:11 +03:00
|
|
|
"shas": "96718341a4847bff463f489a3eb5ee640bba6af5..60dcf6fffa6f054138001066c6a3da01f2ba426d"
|
2016-11-02 18:07:06 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"testCaseDescription": "go-string-literals-replacement-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"string-literals.go": [
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"replace": [
|
|
|
|
{
|
|
|
|
"start": [
|
2016-11-11 00:19:53 +03:00
|
|
|
2,
|
2016-11-02 18:07:06 +03:00
|
|
|
5
|
|
|
|
],
|
|
|
|
"end": [
|
2016-11-11 00:19:53 +03:00
|
|
|
2,
|
2016-11-02 18:07:06 +03:00
|
|
|
8
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"start": [
|
2016-11-11 00:19:53 +03:00
|
|
|
2,
|
2016-11-02 18:07:06 +03:00
|
|
|
5
|
|
|
|
],
|
|
|
|
"end": [
|
2016-11-11 00:19:53 +03:00
|
|
|
2,
|
2016-11-02 18:07:06 +03:00
|
|
|
8
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2016-11-11 00:19:53 +03:00
|
|
|
"summary": "Replaced the \"0\" string with the \"2\" string in the a variable"
|
2016-11-02 18:07:06 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"replace": [
|
|
|
|
{
|
|
|
|
"start": [
|
2016-11-11 00:19:53 +03:00
|
|
|
3,
|
2016-11-02 18:07:06 +03:00
|
|
|
5
|
|
|
|
],
|
|
|
|
"end": [
|
2016-11-11 00:19:53 +03:00
|
|
|
3,
|
2016-11-02 18:07:06 +03:00
|
|
|
18
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"start": [
|
2016-11-11 00:19:53 +03:00
|
|
|
3,
|
2016-11-02 18:07:06 +03:00
|
|
|
5
|
|
|
|
],
|
|
|
|
"end": [
|
2016-11-11 00:19:53 +03:00
|
|
|
3,
|
2016-11-02 18:07:06 +03:00
|
|
|
9
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2016-11-11 00:19:53 +03:00
|
|
|
"summary": "Replaced the \"hello world\" string with the \"hi\" string in the b variable"
|
2016-11-02 18:07:06 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"string-literals.go"
|
|
|
|
],
|
2016-11-11 00:19:53 +03:00
|
|
|
"patch": [
|
|
|
|
"diff --git a/string-literals.go b/string-literals.go",
|
|
|
|
"index e7b83ba..a781ce7 100644",
|
|
|
|
"--- a/string-literals.go",
|
|
|
|
"+++ b/string-literals.go",
|
|
|
|
"@@ -1,6 +1,6 @@",
|
|
|
|
" const (",
|
|
|
|
"-a = \"0\"",
|
|
|
|
"-b = \"hello world\"",
|
|
|
|
"+a = \"2\"",
|
|
|
|
"+b = \"hi\"",
|
|
|
|
" )",
|
|
|
|
" const (",
|
|
|
|
" a = \"0\""
|
|
|
|
],
|
2016-11-02 18:07:06 +03:00
|
|
|
"gitDir": "test/corpus/repos/go",
|
2016-11-22 21:51:11 +03:00
|
|
|
"shas": "60dcf6fffa6f054138001066c6a3da01f2ba426d..972d59ad9d3bd920fc37d22e675e83563e7e085b"
|
2016-11-02 18:07:06 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"testCaseDescription": "go-string-literals-delete-replacement-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"string-literals.go": [
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"delete": {
|
|
|
|
"start": [
|
2016-11-11 00:19:53 +03:00
|
|
|
1,
|
2016-11-02 18:07:06 +03:00
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
2016-11-11 00:19:53 +03:00
|
|
|
4,
|
2016-11-02 18:07:06 +03:00
|
|
|
2
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2016-11-02 22:43:26 +03:00
|
|
|
"summary": "Deleted the 'a' variable"
|
2016-11-02 22:25:50 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"delete": {
|
|
|
|
"start": [
|
2016-11-11 00:19:53 +03:00
|
|
|
1,
|
2016-11-02 22:25:50 +03:00
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
2016-11-11 00:19:53 +03:00
|
|
|
4,
|
2016-11-02 22:25:50 +03:00
|
|
|
2
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2016-11-02 22:43:26 +03:00
|
|
|
"summary": "Deleted the 'b' variable"
|
2016-11-02 18:07:06 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"delete": {
|
|
|
|
"start": [
|
2016-11-11 00:19:53 +03:00
|
|
|
5,
|
2016-11-02 18:07:06 +03:00
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
2016-11-11 00:19:53 +03:00
|
|
|
8,
|
2016-11-02 18:07:06 +03:00
|
|
|
2
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2016-11-02 22:43:26 +03:00
|
|
|
"summary": "Deleted the 'a' variable"
|
2016-11-02 22:25:50 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"delete": {
|
|
|
|
"start": [
|
2016-11-11 00:19:53 +03:00
|
|
|
5,
|
2016-11-02 22:25:50 +03:00
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
2016-11-11 00:19:53 +03:00
|
|
|
8,
|
2016-11-02 22:25:50 +03:00
|
|
|
2
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2016-11-02 22:43:26 +03:00
|
|
|
"summary": "Deleted the 'b' variable"
|
2016-11-02 22:25:50 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"insert": {
|
|
|
|
"start": [
|
2016-11-11 00:19:53 +03:00
|
|
|
5,
|
2016-11-02 22:25:50 +03:00
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
2016-11-11 00:19:53 +03:00
|
|
|
8,
|
2016-11-02 22:25:50 +03:00
|
|
|
2
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2016-11-02 22:43:26 +03:00
|
|
|
"summary": "Added the 'a' variable"
|
2016-11-02 18:07:06 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"insert": {
|
|
|
|
"start": [
|
2016-11-11 00:19:53 +03:00
|
|
|
5,
|
2016-11-02 18:07:06 +03:00
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
2016-11-11 00:19:53 +03:00
|
|
|
8,
|
2016-11-02 18:07:06 +03:00
|
|
|
2
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2016-11-02 22:43:26 +03:00
|
|
|
"summary": "Added the 'b' variable"
|
2016-11-02 18:07:06 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"string-literals.go"
|
|
|
|
],
|
2016-11-11 00:19:53 +03:00
|
|
|
"patch": [
|
|
|
|
"diff --git a/string-literals.go b/string-literals.go",
|
|
|
|
"index a781ce7..38c651f 100644",
|
|
|
|
"--- a/string-literals.go",
|
|
|
|
"+++ b/string-literals.go",
|
|
|
|
"@@ -1,12 +1,8 @@",
|
|
|
|
" const (",
|
|
|
|
"-a = \"2\"",
|
|
|
|
"-b = \"hi\"",
|
|
|
|
"-)",
|
|
|
|
"-const (",
|
|
|
|
" a = \"0\"",
|
|
|
|
" b = \"hello world\"",
|
|
|
|
" )",
|
|
|
|
" const (",
|
|
|
|
"-a = \"0\"",
|
|
|
|
"-b = \"hello world\"",
|
|
|
|
"+a = \"2\"",
|
|
|
|
"+b = \"hi\"",
|
|
|
|
" )"
|
|
|
|
],
|
2016-11-02 18:07:06 +03:00
|
|
|
"gitDir": "test/corpus/repos/go",
|
2016-11-22 21:51:11 +03:00
|
|
|
"shas": "972d59ad9d3bd920fc37d22e675e83563e7e085b..af284aefb744b3c429139fe6ec89bd82973d0eda"
|
2016-11-02 18:07:06 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"testCaseDescription": "go-string-literals-delete-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"string-literals.go": [
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"delete": {
|
|
|
|
"start": [
|
2016-11-11 00:19:53 +03:00
|
|
|
1,
|
2016-11-02 18:07:06 +03:00
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
2016-11-11 00:19:53 +03:00
|
|
|
4,
|
2016-11-02 18:07:06 +03:00
|
|
|
2
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2016-11-02 22:43:26 +03:00
|
|
|
"summary": "Deleted the 'a' variable"
|
2016-11-02 22:25:50 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"delete": {
|
|
|
|
"start": [
|
2016-11-11 00:19:53 +03:00
|
|
|
1,
|
2016-11-02 22:25:50 +03:00
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
2016-11-11 00:19:53 +03:00
|
|
|
4,
|
2016-11-02 22:25:50 +03:00
|
|
|
2
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2016-11-02 22:43:26 +03:00
|
|
|
"summary": "Deleted the 'b' variable"
|
2016-11-02 18:07:06 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"string-literals.go"
|
|
|
|
],
|
2016-11-11 00:19:53 +03:00
|
|
|
"patch": [
|
|
|
|
"diff --git a/string-literals.go b/string-literals.go",
|
|
|
|
"index 38c651f..f70bc80 100644",
|
|
|
|
"--- a/string-literals.go",
|
|
|
|
"+++ b/string-literals.go",
|
|
|
|
"@@ -1,8 +1,4 @@",
|
|
|
|
" const (",
|
|
|
|
"-a = \"0\"",
|
|
|
|
"-b = \"hello world\"",
|
|
|
|
"-)",
|
|
|
|
"-const (",
|
|
|
|
" a = \"2\"",
|
|
|
|
" b = \"hi\"",
|
|
|
|
" )"
|
|
|
|
],
|
2016-11-02 18:07:06 +03:00
|
|
|
"gitDir": "test/corpus/repos/go",
|
2016-11-22 21:51:11 +03:00
|
|
|
"shas": "af284aefb744b3c429139fe6ec89bd82973d0eda..6b1d410021f393030cd07c6fb4419cc514dbe27c"
|
2016-11-02 18:07:06 +03:00
|
|
|
}
|
|
|
|
,{
|
|
|
|
"testCaseDescription": "go-string-literals-delete-rest-test",
|
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"string-literals.go": [
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"delete": {
|
|
|
|
"start": [
|
2016-11-11 00:19:53 +03:00
|
|
|
1,
|
2016-11-02 18:07:06 +03:00
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
2016-11-11 00:19:53 +03:00
|
|
|
4,
|
2016-11-02 18:07:06 +03:00
|
|
|
2
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2016-11-02 22:43:26 +03:00
|
|
|
"summary": "Deleted the 'a' variable"
|
2016-11-02 22:25:50 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"delete": {
|
|
|
|
"start": [
|
2016-11-11 00:19:53 +03:00
|
|
|
1,
|
2016-11-02 22:25:50 +03:00
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
2016-11-11 00:19:53 +03:00
|
|
|
4,
|
2016-11-02 22:25:50 +03:00
|
|
|
2
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2016-11-02 22:43:26 +03:00
|
|
|
"summary": "Deleted the 'b' variable"
|
2016-11-02 18:07:06 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"string-literals.go"
|
|
|
|
],
|
2016-11-11 00:19:53 +03:00
|
|
|
"patch": [
|
|
|
|
"diff --git a/string-literals.go b/string-literals.go",
|
|
|
|
"index f70bc80..e69de29 100644",
|
|
|
|
"--- a/string-literals.go",
|
|
|
|
"+++ b/string-literals.go",
|
|
|
|
"@@ -1,4 +0,0 @@",
|
|
|
|
"-const (",
|
|
|
|
"-a = \"2\"",
|
|
|
|
"-b = \"hi\"",
|
|
|
|
"-)"
|
|
|
|
],
|
2016-11-02 18:07:06 +03:00
|
|
|
"gitDir": "test/corpus/repos/go",
|
2016-11-22 21:51:11 +03:00
|
|
|
"shas": "6b1d410021f393030cd07c6fb4419cc514dbe27c..79aefa1533a679c173158328e430b41a54ee121b"
|
2016-11-02 18:07:06 +03:00
|
|
|
}]
|