mirror of
https://github.com/github/semantic.git
synced 2024-12-23 14:54:16 +03:00
1122 lines
36 KiB
JSON
1122 lines
36 KiB
JSON
[{
|
|
"testCaseDescription": "go-method-declarations-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"method-declarations.go": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
7
|
|
],
|
|
"end": [
|
|
1,
|
|
11
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'self' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
12
|
|
],
|
|
"end": [
|
|
1,
|
|
18
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'Person' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
20
|
|
],
|
|
"end": [
|
|
1,
|
|
26
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'Equals' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
27
|
|
],
|
|
"end": [
|
|
1,
|
|
32
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'other' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
33
|
|
],
|
|
"end": [
|
|
1,
|
|
39
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'Person' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
41
|
|
],
|
|
"end": [
|
|
1,
|
|
45
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'bool' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
46
|
|
],
|
|
"end": [
|
|
1,
|
|
48
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the '{}' block"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"method-declarations.go"
|
|
],
|
|
"patch": [
|
|
"diff --git a/method-declarations.go b/method-declarations.go",
|
|
"index e69de29..4431052 100644",
|
|
"--- a/method-declarations.go",
|
|
"+++ b/method-declarations.go",
|
|
"@@ -0,0 +1 @@",
|
|
"+func (self Person) Equals(other Person) bool {}"
|
|
],
|
|
"gitDir": "test/corpus/repos/go",
|
|
"shas": "1564e9c02c34d715ada30d7758d82acfc1ce4abb..b7e601702efcfdef76a3953d6be46496d6a948b7"
|
|
}
|
|
,{
|
|
"testCaseDescription": "go-method-declarations-replacement-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"method-declarations.go": [
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
7
|
|
],
|
|
"end": [
|
|
1,
|
|
11
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'self' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
12
|
|
],
|
|
"end": [
|
|
1,
|
|
15
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'Num' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
17
|
|
],
|
|
"end": [
|
|
1,
|
|
23
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'Equals' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
24
|
|
],
|
|
"end": [
|
|
1,
|
|
29
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'other' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
30
|
|
],
|
|
"end": [
|
|
1,
|
|
33
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'Num' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
35
|
|
],
|
|
"end": [
|
|
1,
|
|
39
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'bool' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
1,
|
|
40
|
|
],
|
|
"end": [
|
|
1,
|
|
42
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the '{}' block"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
7
|
|
],
|
|
"end": [
|
|
2,
|
|
11
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'self' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
12
|
|
],
|
|
"end": [
|
|
2,
|
|
18
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'Person' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
20
|
|
],
|
|
"end": [
|
|
2,
|
|
26
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'Equals' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
27
|
|
],
|
|
"end": [
|
|
2,
|
|
32
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'other' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
33
|
|
],
|
|
"end": [
|
|
2,
|
|
39
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'Person' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
41
|
|
],
|
|
"end": [
|
|
2,
|
|
45
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'bool' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
46
|
|
],
|
|
"end": [
|
|
2,
|
|
48
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the '{}' block"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"method-declarations.go"
|
|
],
|
|
"patch": [
|
|
"diff --git a/method-declarations.go b/method-declarations.go",
|
|
"index 4431052..adbefab 100644",
|
|
"--- a/method-declarations.go",
|
|
"+++ b/method-declarations.go",
|
|
"@@ -1 +1,3 @@",
|
|
"+func (self Num) Equals(other Num) bool {}",
|
|
"+func (self Person) Equals(other Person) bool {}",
|
|
" func (self Person) Equals(other Person) bool {}"
|
|
],
|
|
"gitDir": "test/corpus/repos/go",
|
|
"shas": "b7e601702efcfdef76a3953d6be46496d6a948b7..e5aeb89c6cd83d3cd56cd7b124ee1ad2cae737d3"
|
|
}
|
|
,{
|
|
"testCaseDescription": "go-method-declarations-delete-insert-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"method-declarations.go": [
|
|
{
|
|
"span": {
|
|
"replace": [
|
|
{
|
|
"start": [
|
|
1,
|
|
12
|
|
],
|
|
"end": [
|
|
1,
|
|
15
|
|
]
|
|
},
|
|
{
|
|
"start": [
|
|
1,
|
|
12
|
|
],
|
|
"end": [
|
|
1,
|
|
18
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"summary": "Replaced the 'Num' identifier with the 'Person' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"replace": [
|
|
{
|
|
"start": [
|
|
1,
|
|
30
|
|
],
|
|
"end": [
|
|
1,
|
|
33
|
|
]
|
|
},
|
|
{
|
|
"start": [
|
|
1,
|
|
33
|
|
],
|
|
"end": [
|
|
1,
|
|
39
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"summary": "Replaced the 'Num' identifier with the 'Person' identifier"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"method-declarations.go"
|
|
],
|
|
"patch": [
|
|
"diff --git a/method-declarations.go b/method-declarations.go",
|
|
"index adbefab..88c36a5 100644",
|
|
"--- a/method-declarations.go",
|
|
"+++ b/method-declarations.go",
|
|
"@@ -1,3 +1,3 @@",
|
|
"-func (self Num) Equals(other Num) bool {}",
|
|
"+func (self Person) Equals(other Person) bool {}",
|
|
" func (self Person) Equals(other Person) bool {}",
|
|
" func (self Person) Equals(other Person) bool {}"
|
|
],
|
|
"gitDir": "test/corpus/repos/go",
|
|
"shas": "e5aeb89c6cd83d3cd56cd7b124ee1ad2cae737d3..4f3514cf4fc162844b1bcb988b5bbc02685b0036"
|
|
}
|
|
,{
|
|
"testCaseDescription": "go-method-declarations-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"method-declarations.go": [
|
|
{
|
|
"span": {
|
|
"replace": [
|
|
{
|
|
"start": [
|
|
1,
|
|
12
|
|
],
|
|
"end": [
|
|
1,
|
|
18
|
|
]
|
|
},
|
|
{
|
|
"start": [
|
|
1,
|
|
12
|
|
],
|
|
"end": [
|
|
1,
|
|
15
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"summary": "Replaced the 'Person' identifier with the 'Num' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"replace": [
|
|
{
|
|
"start": [
|
|
1,
|
|
33
|
|
],
|
|
"end": [
|
|
1,
|
|
39
|
|
]
|
|
},
|
|
{
|
|
"start": [
|
|
1,
|
|
30
|
|
],
|
|
"end": [
|
|
1,
|
|
33
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"summary": "Replaced the 'Person' identifier with the 'Num' identifier"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"method-declarations.go"
|
|
],
|
|
"patch": [
|
|
"diff --git a/method-declarations.go b/method-declarations.go",
|
|
"index 88c36a5..adbefab 100644",
|
|
"--- a/method-declarations.go",
|
|
"+++ b/method-declarations.go",
|
|
"@@ -1,3 +1,3 @@",
|
|
"-func (self Person) Equals(other Person) bool {}",
|
|
"+func (self Num) Equals(other Num) bool {}",
|
|
" func (self Person) Equals(other Person) bool {}",
|
|
" func (self Person) Equals(other Person) bool {}"
|
|
],
|
|
"gitDir": "test/corpus/repos/go",
|
|
"shas": "4f3514cf4fc162844b1bcb988b5bbc02685b0036..e933061b63fe51e0e6a43f92949392b982e22a42"
|
|
}
|
|
,{
|
|
"testCaseDescription": "go-method-declarations-delete-replacement-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"method-declarations.go": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
7
|
|
],
|
|
"end": [
|
|
1,
|
|
11
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'self' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
12
|
|
],
|
|
"end": [
|
|
1,
|
|
15
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'Num' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
17
|
|
],
|
|
"end": [
|
|
1,
|
|
23
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'Equals' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
24
|
|
],
|
|
"end": [
|
|
1,
|
|
29
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'other' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
30
|
|
],
|
|
"end": [
|
|
1,
|
|
33
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'Num' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
35
|
|
],
|
|
"end": [
|
|
1,
|
|
39
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'bool' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
40
|
|
],
|
|
"end": [
|
|
1,
|
|
42
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the '{}' block"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
2,
|
|
7
|
|
],
|
|
"end": [
|
|
2,
|
|
11
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'self' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
2,
|
|
12
|
|
],
|
|
"end": [
|
|
2,
|
|
18
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'Person' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
2,
|
|
20
|
|
],
|
|
"end": [
|
|
2,
|
|
26
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'Equals' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
2,
|
|
27
|
|
],
|
|
"end": [
|
|
2,
|
|
32
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'other' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
2,
|
|
33
|
|
],
|
|
"end": [
|
|
2,
|
|
39
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'Person' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
2,
|
|
41
|
|
],
|
|
"end": [
|
|
2,
|
|
45
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'bool' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
2,
|
|
46
|
|
],
|
|
"end": [
|
|
2,
|
|
48
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the '{}' block"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
7
|
|
],
|
|
"end": [
|
|
2,
|
|
11
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'self' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
12
|
|
],
|
|
"end": [
|
|
2,
|
|
15
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'Num' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
17
|
|
],
|
|
"end": [
|
|
2,
|
|
23
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'Equals' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
24
|
|
],
|
|
"end": [
|
|
2,
|
|
29
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'other' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
30
|
|
],
|
|
"end": [
|
|
2,
|
|
33
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'Num' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
35
|
|
],
|
|
"end": [
|
|
2,
|
|
39
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the 'bool' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"insert": {
|
|
"start": [
|
|
2,
|
|
40
|
|
],
|
|
"end": [
|
|
2,
|
|
42
|
|
]
|
|
}
|
|
},
|
|
"summary": "Added the '{}' block"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"method-declarations.go"
|
|
],
|
|
"patch": [
|
|
"diff --git a/method-declarations.go b/method-declarations.go",
|
|
"index adbefab..9168669 100644",
|
|
"--- a/method-declarations.go",
|
|
"+++ b/method-declarations.go",
|
|
"@@ -1,3 +1,2 @@",
|
|
"-func (self Num) Equals(other Num) bool {}",
|
|
"-func (self Person) Equals(other Person) bool {}",
|
|
" func (self Person) Equals(other Person) bool {}",
|
|
"+func (self Num) Equals(other Num) bool {}"
|
|
],
|
|
"gitDir": "test/corpus/repos/go",
|
|
"shas": "e933061b63fe51e0e6a43f92949392b982e22a42..bae73a0b2aa39d2a8944e811b304ce7ce9420ca9"
|
|
}
|
|
,{
|
|
"testCaseDescription": "go-method-declarations-delete-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"method-declarations.go": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
7
|
|
],
|
|
"end": [
|
|
1,
|
|
11
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'self' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
12
|
|
],
|
|
"end": [
|
|
1,
|
|
18
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'Person' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
20
|
|
],
|
|
"end": [
|
|
1,
|
|
26
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'Equals' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
27
|
|
],
|
|
"end": [
|
|
1,
|
|
32
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'other' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
33
|
|
],
|
|
"end": [
|
|
1,
|
|
39
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'Person' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
41
|
|
],
|
|
"end": [
|
|
1,
|
|
45
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'bool' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
46
|
|
],
|
|
"end": [
|
|
1,
|
|
48
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the '{}' block"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"method-declarations.go"
|
|
],
|
|
"patch": [
|
|
"diff --git a/method-declarations.go b/method-declarations.go",
|
|
"index 9168669..64a70fa 100644",
|
|
"--- a/method-declarations.go",
|
|
"+++ b/method-declarations.go",
|
|
"@@ -1,2 +1 @@",
|
|
"-func (self Person) Equals(other Person) bool {}",
|
|
" func (self Num) Equals(other Num) bool {}"
|
|
],
|
|
"gitDir": "test/corpus/repos/go",
|
|
"shas": "bae73a0b2aa39d2a8944e811b304ce7ce9420ca9..0b2f219adff0157b86a628154c4718247910607d"
|
|
}
|
|
,{
|
|
"testCaseDescription": "go-method-declarations-delete-rest-test",
|
|
"expectedResult": {
|
|
"changes": {
|
|
"method-declarations.go": [
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
7
|
|
],
|
|
"end": [
|
|
1,
|
|
11
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'self' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
12
|
|
],
|
|
"end": [
|
|
1,
|
|
15
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'Num' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
17
|
|
],
|
|
"end": [
|
|
1,
|
|
23
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'Equals' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
24
|
|
],
|
|
"end": [
|
|
1,
|
|
29
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'other' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
30
|
|
],
|
|
"end": [
|
|
1,
|
|
33
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'Num' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
35
|
|
],
|
|
"end": [
|
|
1,
|
|
39
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the 'bool' identifier"
|
|
},
|
|
{
|
|
"span": {
|
|
"delete": {
|
|
"start": [
|
|
1,
|
|
40
|
|
],
|
|
"end": [
|
|
1,
|
|
42
|
|
]
|
|
}
|
|
},
|
|
"summary": "Deleted the '{}' block"
|
|
}
|
|
]
|
|
},
|
|
"errors": {}
|
|
},
|
|
"filePaths": [
|
|
"method-declarations.go"
|
|
],
|
|
"patch": [
|
|
"diff --git a/method-declarations.go b/method-declarations.go",
|
|
"index 64a70fa..e69de29 100644",
|
|
"--- a/method-declarations.go",
|
|
"+++ b/method-declarations.go",
|
|
"@@ -1 +0,0 @@",
|
|
"-func (self Num) Equals(other Num) bool {}"
|
|
],
|
|
"gitDir": "test/corpus/repos/go",
|
|
"shas": "0b2f219adff0157b86a628154c4718247910607d..1a5697ac27c2c191214c5b74da27494679c1b0a5"
|
|
}]
|