2016-11-02 17:50:05 +03:00
|
|
|
[{
|
2016-12-02 00:03:52 +03:00
|
|
|
"testCaseDescription": "go-function-declarations-setup-test",
|
2016-11-02 17:50:05 +03:00
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"function-declarations.go": [
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"insert": {
|
|
|
|
"start": [
|
2016-11-11 00:19:53 +03:00
|
|
|
1,
|
2016-11-02 17:50:05 +03:00
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
2016-12-02 00:03:52 +03:00
|
|
|
6,
|
2016-11-22 23:10:04 +03:00
|
|
|
1
|
2016-11-02 17:50:05 +03:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2016-12-02 00:03:52 +03:00
|
|
|
"summary": "Added the 'main' module"
|
2016-11-22 23:10:04 +03:00
|
|
|
}
|
|
|
|
]
|
2016-12-02 00:03:52 +03:00
|
|
|
},
|
|
|
|
"errors": {}
|
2016-11-22 23:10:04 +03:00
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"function-declarations.go"
|
|
|
|
],
|
|
|
|
"patch": [
|
|
|
|
"diff --git a/function-declarations.go b/function-declarations.go",
|
2016-12-02 00:03:52 +03:00
|
|
|
"index e69de29..7905807 100644",
|
2016-11-22 23:10:04 +03:00
|
|
|
"--- a/function-declarations.go",
|
|
|
|
"+++ b/function-declarations.go",
|
2016-12-02 00:03:52 +03:00
|
|
|
"@@ -0,0 +1,5 @@",
|
|
|
|
"+package main",
|
|
|
|
"+",
|
|
|
|
"+func main() {",
|
|
|
|
"+",
|
|
|
|
"+}"
|
2016-11-22 23:10:04 +03:00
|
|
|
],
|
|
|
|
"gitDir": "test/corpus/repos/go",
|
2017-01-10 23:09:09 +03:00
|
|
|
"shas": "5ee82082a46c778d2d73f23d2d266ea19676839a..3b2d0f344948eb8d8861c6095c84a84f4892cd5f"
|
2016-11-22 23:10:04 +03:00
|
|
|
}
|
|
|
|
,{
|
2016-12-02 00:03:52 +03:00
|
|
|
"testCaseDescription": "go-function-declarations-insert-test",
|
2016-11-22 23:10:04 +03:00
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"function-declarations.go": [
|
2016-11-02 17:50:05 +03:00
|
|
|
{
|
|
|
|
"span": {
|
2016-12-02 00:03:52 +03:00
|
|
|
"replace": [
|
|
|
|
{
|
|
|
|
"start": [
|
|
|
|
1,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
6,
|
|
|
|
1
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"start": [
|
|
|
|
1,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
8,
|
|
|
|
1
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2016-11-02 17:50:05 +03:00
|
|
|
},
|
2016-12-02 00:03:52 +03:00
|
|
|
"summary": "Replaced the 'main' module with the 'main' module"
|
2016-11-22 23:10:04 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2016-12-02 00:03:52 +03:00
|
|
|
"errors": {}
|
2016-11-02 17:50:05 +03:00
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"function-declarations.go"
|
|
|
|
],
|
2016-11-11 00:19:53 +03:00
|
|
|
"patch": [
|
|
|
|
"diff --git a/function-declarations.go b/function-declarations.go",
|
2016-12-02 00:03:52 +03:00
|
|
|
"index 7905807..2a1e7b8 100644",
|
2016-11-11 00:19:53 +03:00
|
|
|
"--- a/function-declarations.go",
|
|
|
|
"+++ b/function-declarations.go",
|
2016-12-02 00:03:52 +03:00
|
|
|
"@@ -1,5 +1,8 @@",
|
|
|
|
" package main",
|
|
|
|
" ",
|
|
|
|
" func main() {",
|
|
|
|
"-",
|
2016-11-11 00:19:53 +03:00
|
|
|
"+func f1() {}",
|
|
|
|
"+func f2(a int, b, c, d string) int {}",
|
|
|
|
"+func f2() (int, error) {}",
|
2016-11-22 23:10:04 +03:00
|
|
|
"+func f2() (result int, err error) {}",
|
2016-12-02 00:03:52 +03:00
|
|
|
" }"
|
2016-11-11 00:19:53 +03:00
|
|
|
],
|
2016-11-02 17:50:05 +03:00
|
|
|
"gitDir": "test/corpus/repos/go",
|
2017-01-10 23:09:09 +03:00
|
|
|
"shas": "3b2d0f344948eb8d8861c6095c84a84f4892cd5f..d22e3d1c200a31f80f84a10c1179f07fcdb1338a"
|
2016-11-02 17:50:05 +03:00
|
|
|
}
|
|
|
|
,{
|
2016-12-02 00:03:52 +03:00
|
|
|
"testCaseDescription": "go-function-declarations-replacement-test",
|
2016-11-02 17:50:05 +03:00
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"function-declarations.go": [
|
|
|
|
{
|
|
|
|
"span": {
|
2016-11-22 23:10:04 +03:00
|
|
|
"replace": [
|
|
|
|
{
|
|
|
|
"start": [
|
2016-12-02 00:03:52 +03:00
|
|
|
4,
|
2016-11-22 23:10:04 +03:00
|
|
|
6
|
|
|
|
],
|
|
|
|
"end": [
|
2016-12-02 00:03:52 +03:00
|
|
|
4,
|
2016-11-22 23:10:04 +03:00
|
|
|
8
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"start": [
|
2016-12-02 00:03:52 +03:00
|
|
|
4,
|
2016-11-22 23:10:04 +03:00
|
|
|
6
|
|
|
|
],
|
|
|
|
"end": [
|
2016-12-02 00:03:52 +03:00
|
|
|
4,
|
2016-11-22 23:10:04 +03:00
|
|
|
8
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2016-11-02 17:50:05 +03:00
|
|
|
},
|
2016-12-02 00:03:52 +03:00
|
|
|
"summary": "Replaced the 'f1' identifier with the 'fa' identifier in the fa() function call of the 'main' function"
|
2016-11-02 17:50:05 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
2016-11-22 23:10:04 +03:00
|
|
|
"replace": [
|
|
|
|
{
|
|
|
|
"start": [
|
2016-12-02 00:03:52 +03:00
|
|
|
5,
|
2016-11-22 23:10:04 +03:00
|
|
|
6
|
|
|
|
],
|
|
|
|
"end": [
|
2016-12-02 00:03:52 +03:00
|
|
|
5,
|
2016-11-22 23:10:04 +03:00
|
|
|
8
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"start": [
|
2016-12-02 00:03:52 +03:00
|
|
|
5,
|
2016-11-22 23:10:04 +03:00
|
|
|
6
|
|
|
|
],
|
|
|
|
"end": [
|
2016-12-02 00:03:52 +03:00
|
|
|
5,
|
2016-11-22 23:10:04 +03:00
|
|
|
8
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2016-11-02 17:50:05 +03:00
|
|
|
},
|
2016-12-02 00:03:52 +03:00
|
|
|
"summary": "Replaced the 'f2' identifier with the 'fb' identifier in the main module"
|
2016-11-02 17:50:05 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
2016-11-22 23:10:04 +03:00
|
|
|
"replace": [
|
|
|
|
{
|
|
|
|
"start": [
|
2016-12-02 00:03:52 +03:00
|
|
|
6,
|
2016-11-22 23:10:04 +03:00
|
|
|
6
|
|
|
|
],
|
|
|
|
"end": [
|
2016-12-02 00:03:52 +03:00
|
|
|
6,
|
2016-11-22 23:10:04 +03:00
|
|
|
8
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"start": [
|
2016-12-02 00:03:52 +03:00
|
|
|
6,
|
2016-11-22 23:10:04 +03:00
|
|
|
6
|
|
|
|
],
|
|
|
|
"end": [
|
2016-12-02 00:03:52 +03:00
|
|
|
6,
|
2016-11-22 23:10:04 +03:00
|
|
|
8
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2016-11-02 17:50:05 +03:00
|
|
|
},
|
2016-12-02 00:03:52 +03:00
|
|
|
"summary": "Replaced the 'f2' identifier with the 'fc' identifier in the main module"
|
2016-11-02 17:50:05 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
2016-11-22 23:10:04 +03:00
|
|
|
"replace": [
|
|
|
|
{
|
|
|
|
"start": [
|
2016-12-02 00:03:52 +03:00
|
|
|
7,
|
2016-11-22 23:10:04 +03:00
|
|
|
6
|
|
|
|
],
|
|
|
|
"end": [
|
2016-12-02 00:03:52 +03:00
|
|
|
7,
|
2016-11-22 23:10:04 +03:00
|
|
|
8
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"start": [
|
2016-12-02 00:03:52 +03:00
|
|
|
7,
|
2016-11-22 23:10:04 +03:00
|
|
|
6
|
|
|
|
],
|
|
|
|
"end": [
|
2016-12-02 00:03:52 +03:00
|
|
|
7,
|
2016-11-22 23:10:04 +03:00
|
|
|
8
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2016-11-02 17:50:05 +03:00
|
|
|
},
|
2016-12-02 00:03:52 +03:00
|
|
|
"summary": "Replaced the 'f2' identifier with the 'fd' identifier in the main module"
|
2016-11-22 23:10:04 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"function-declarations.go"
|
|
|
|
],
|
|
|
|
"patch": [
|
|
|
|
"diff --git a/function-declarations.go b/function-declarations.go",
|
2016-12-02 00:03:52 +03:00
|
|
|
"index 2a1e7b8..10d0b49 100644",
|
2016-11-22 23:10:04 +03:00
|
|
|
"--- a/function-declarations.go",
|
|
|
|
"+++ b/function-declarations.go",
|
2016-12-02 00:03:52 +03:00
|
|
|
"@@ -1,8 +1,8 @@",
|
|
|
|
" package main",
|
|
|
|
" ",
|
|
|
|
" func main() {",
|
|
|
|
"-func f1() {}",
|
|
|
|
"-func f2(a int, b, c, d string) int {}",
|
|
|
|
"-func f2() (int, error) {}",
|
|
|
|
"-func f2() (result int, err error) {}",
|
|
|
|
"+func fa() {}",
|
|
|
|
"+func fb(a int, b, c, d string) int {}",
|
|
|
|
"+func fc() (int, error) {}",
|
|
|
|
"+func fd() (result int, err error) {}",
|
|
|
|
" }"
|
2016-11-22 23:10:04 +03:00
|
|
|
],
|
|
|
|
"gitDir": "test/corpus/repos/go",
|
2017-01-10 23:09:09 +03:00
|
|
|
"shas": "d22e3d1c200a31f80f84a10c1179f07fcdb1338a..66594d797cd042296aa4acfabb49a5d0df4b8c7f"
|
2016-11-22 23:10:04 +03:00
|
|
|
}
|
|
|
|
,{
|
2016-12-02 00:03:52 +03:00
|
|
|
"testCaseDescription": "go-function-declarations-delete-replacement-test",
|
2016-11-22 23:10:04 +03:00
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"function-declarations.go": [
|
2016-11-02 17:50:05 +03:00
|
|
|
{
|
|
|
|
"span": {
|
2016-11-22 23:10:04 +03:00
|
|
|
"replace": [
|
|
|
|
{
|
|
|
|
"start": [
|
2016-12-02 00:03:52 +03:00
|
|
|
4,
|
2016-11-22 23:10:04 +03:00
|
|
|
6
|
|
|
|
],
|
|
|
|
"end": [
|
2016-12-02 00:03:52 +03:00
|
|
|
4,
|
2016-11-22 23:10:04 +03:00
|
|
|
8
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"start": [
|
2016-12-02 00:03:52 +03:00
|
|
|
4,
|
2016-11-22 23:10:04 +03:00
|
|
|
6
|
|
|
|
],
|
|
|
|
"end": [
|
2016-12-02 00:03:52 +03:00
|
|
|
4,
|
2016-11-22 23:10:04 +03:00
|
|
|
8
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2016-11-02 17:50:05 +03:00
|
|
|
},
|
2016-12-02 00:03:52 +03:00
|
|
|
"summary": "Replaced the 'fa' identifier with the 'f1' identifier in the f1() function call of the 'main' function"
|
2016-11-02 17:50:05 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
2016-11-22 23:10:04 +03:00
|
|
|
"replace": [
|
|
|
|
{
|
|
|
|
"start": [
|
2016-12-02 00:03:52 +03:00
|
|
|
5,
|
2016-11-22 23:10:04 +03:00
|
|
|
6
|
|
|
|
],
|
|
|
|
"end": [
|
2016-12-02 00:03:52 +03:00
|
|
|
5,
|
2016-11-22 23:10:04 +03:00
|
|
|
8
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"start": [
|
2016-12-02 00:03:52 +03:00
|
|
|
5,
|
2016-11-22 23:10:04 +03:00
|
|
|
6
|
|
|
|
],
|
|
|
|
"end": [
|
2016-12-02 00:03:52 +03:00
|
|
|
5,
|
2016-11-22 23:10:04 +03:00
|
|
|
8
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2016-11-02 17:50:05 +03:00
|
|
|
},
|
2016-12-02 00:03:52 +03:00
|
|
|
"summary": "Replaced the 'fb' identifier with the 'f2' identifier in the main module"
|
2016-11-02 17:50:05 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
2016-11-22 23:10:04 +03:00
|
|
|
"replace": [
|
|
|
|
{
|
|
|
|
"start": [
|
2016-12-02 00:03:52 +03:00
|
|
|
6,
|
2016-11-22 23:10:04 +03:00
|
|
|
6
|
|
|
|
],
|
|
|
|
"end": [
|
2016-12-02 00:03:52 +03:00
|
|
|
6,
|
2016-11-22 23:10:04 +03:00
|
|
|
8
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"start": [
|
2016-12-02 00:03:52 +03:00
|
|
|
6,
|
2016-11-22 23:10:04 +03:00
|
|
|
6
|
|
|
|
],
|
|
|
|
"end": [
|
2016-12-02 00:03:52 +03:00
|
|
|
6,
|
2016-11-22 23:10:04 +03:00
|
|
|
8
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2016-11-02 17:50:05 +03:00
|
|
|
},
|
2016-12-02 00:03:52 +03:00
|
|
|
"summary": "Replaced the 'fc' identifier with the 'f2' identifier in the main module"
|
2016-11-22 23:10:04 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"replace": [
|
|
|
|
{
|
|
|
|
"start": [
|
2016-12-02 00:03:52 +03:00
|
|
|
7,
|
2016-11-22 23:10:04 +03:00
|
|
|
6
|
|
|
|
],
|
|
|
|
"end": [
|
2016-12-02 00:03:52 +03:00
|
|
|
7,
|
2016-11-22 23:10:04 +03:00
|
|
|
8
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"start": [
|
2016-12-02 00:03:52 +03:00
|
|
|
7,
|
2016-11-22 23:10:04 +03:00
|
|
|
6
|
|
|
|
],
|
|
|
|
"end": [
|
2016-12-02 00:03:52 +03:00
|
|
|
7,
|
2016-11-22 23:10:04 +03:00
|
|
|
8
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2016-11-02 17:50:05 +03:00
|
|
|
},
|
2016-12-02 00:03:52 +03:00
|
|
|
"summary": "Replaced the 'fd' identifier with the 'f2' identifier in the main module"
|
2016-11-02 17:50:05 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"errors": {}
|
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"function-declarations.go"
|
|
|
|
],
|
2016-11-11 00:19:53 +03:00
|
|
|
"patch": [
|
|
|
|
"diff --git a/function-declarations.go b/function-declarations.go",
|
2016-12-02 00:03:52 +03:00
|
|
|
"index 10d0b49..2a1e7b8 100644",
|
2016-11-22 23:10:04 +03:00
|
|
|
"--- a/function-declarations.go",
|
|
|
|
"+++ b/function-declarations.go",
|
2016-12-02 00:03:52 +03:00
|
|
|
"@@ -1,8 +1,8 @@",
|
|
|
|
" package main",
|
|
|
|
" ",
|
|
|
|
" func main() {",
|
2016-11-22 23:10:04 +03:00
|
|
|
"-func fa() {}",
|
|
|
|
"-func fb(a int, b, c, d string) int {}",
|
|
|
|
"-func fc() (int, error) {}",
|
|
|
|
"-func fd() (result int, err error) {}",
|
2016-12-02 00:03:52 +03:00
|
|
|
"+func f1() {}",
|
|
|
|
"+func f2(a int, b, c, d string) int {}",
|
|
|
|
"+func f2() (int, error) {}",
|
|
|
|
"+func f2() (result int, err error) {}",
|
|
|
|
" }"
|
2016-11-22 23:10:04 +03:00
|
|
|
],
|
|
|
|
"gitDir": "test/corpus/repos/go",
|
2017-01-10 23:09:09 +03:00
|
|
|
"shas": "66594d797cd042296aa4acfabb49a5d0df4b8c7f..8c91c066e0960e41d9f69b552f4d0d789368a9f9"
|
2016-11-22 23:10:04 +03:00
|
|
|
}
|
|
|
|
,{
|
2016-12-02 00:03:52 +03:00
|
|
|
"testCaseDescription": "go-function-declarations-delete-insert-test",
|
2016-11-22 23:10:04 +03:00
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"function-declarations.go": [
|
2016-11-02 17:50:05 +03:00
|
|
|
{
|
|
|
|
"span": {
|
2016-12-02 00:03:52 +03:00
|
|
|
"replace": [
|
|
|
|
{
|
|
|
|
"start": [
|
|
|
|
1,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
8,
|
|
|
|
1
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"start": [
|
|
|
|
1,
|
|
|
|
1
|
|
|
|
],
|
|
|
|
"end": [
|
|
|
|
6,
|
|
|
|
1
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2016-11-02 17:50:05 +03:00
|
|
|
},
|
2016-12-02 00:03:52 +03:00
|
|
|
"summary": "Replaced the 'main' module with the 'main' module"
|
2016-11-22 23:10:04 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2016-12-02 00:03:52 +03:00
|
|
|
"errors": {}
|
2016-11-22 23:10:04 +03:00
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"function-declarations.go"
|
|
|
|
],
|
|
|
|
"patch": [
|
|
|
|
"diff --git a/function-declarations.go b/function-declarations.go",
|
2016-12-02 00:03:52 +03:00
|
|
|
"index 2a1e7b8..7905807 100644",
|
2016-11-22 23:10:04 +03:00
|
|
|
"--- a/function-declarations.go",
|
|
|
|
"+++ b/function-declarations.go",
|
2016-12-02 00:03:52 +03:00
|
|
|
"@@ -1,8 +1,5 @@",
|
|
|
|
" package main",
|
|
|
|
" ",
|
|
|
|
" func main() {",
|
2016-11-22 23:10:04 +03:00
|
|
|
"-func f1() {}",
|
|
|
|
"-func f2(a int, b, c, d string) int {}",
|
|
|
|
"-func f2() (int, error) {}",
|
|
|
|
"-func f2() (result int, err error) {}",
|
2016-12-02 00:03:52 +03:00
|
|
|
"+",
|
|
|
|
" }"
|
2016-11-22 23:10:04 +03:00
|
|
|
],
|
|
|
|
"gitDir": "test/corpus/repos/go",
|
2017-01-10 23:09:09 +03:00
|
|
|
"shas": "8c91c066e0960e41d9f69b552f4d0d789368a9f9..56b47e3c7d7ab1229f2ff8f83465820c691449b6"
|
2016-11-22 23:10:04 +03:00
|
|
|
}
|
|
|
|
,{
|
2016-12-02 00:03:52 +03:00
|
|
|
"testCaseDescription": "go-function-declarations-teardown-test",
|
2016-11-22 23:10:04 +03:00
|
|
|
"expectedResult": {
|
|
|
|
"changes": {
|
|
|
|
"function-declarations.go": [
|
2016-11-02 17:50:05 +03:00
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"delete": {
|
|
|
|
"start": [
|
2016-11-22 23:10:04 +03:00
|
|
|
1,
|
|
|
|
1
|
2016-11-02 17:50:05 +03:00
|
|
|
],
|
|
|
|
"end": [
|
2016-12-02 00:03:52 +03:00
|
|
|
6,
|
2016-11-22 23:10:04 +03:00
|
|
|
1
|
2016-11-02 17:50:05 +03:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2016-12-02 00:03:52 +03:00
|
|
|
"summary": "Deleted the 'main' module"
|
2016-11-02 17:50:05 +03:00
|
|
|
}
|
|
|
|
]
|
2016-12-02 00:03:52 +03:00
|
|
|
},
|
|
|
|
"errors": {}
|
2016-11-02 17:50:05 +03:00
|
|
|
},
|
|
|
|
"filePaths": [
|
|
|
|
"function-declarations.go"
|
|
|
|
],
|
2016-11-11 00:19:53 +03:00
|
|
|
"patch": [
|
|
|
|
"diff --git a/function-declarations.go b/function-declarations.go",
|
2016-12-02 00:03:52 +03:00
|
|
|
"index 7905807..e69de29 100644",
|
2016-11-11 00:19:53 +03:00
|
|
|
"--- a/function-declarations.go",
|
|
|
|
"+++ b/function-declarations.go",
|
2016-12-02 00:03:52 +03:00
|
|
|
"@@ -1,5 +0,0 @@",
|
|
|
|
"-package main",
|
|
|
|
"-",
|
|
|
|
"-func main() {",
|
|
|
|
"-",
|
|
|
|
"-}"
|
2016-11-11 00:19:53 +03:00
|
|
|
],
|
2016-11-02 17:50:05 +03:00
|
|
|
"gitDir": "test/corpus/repos/go",
|
2017-01-10 23:09:09 +03:00
|
|
|
"shas": "56b47e3c7d7ab1229f2ff8f83465820c691449b6..3b975fed0b66d037c50f3b21d664f68301f0c901"
|
2016-11-02 17:50:05 +03:00
|
|
|
}]
|