Missing curly brace
There was test code after the 'return'. I inserted the curly brace to actually include this code in the test.
Reviewers: fromberger
Subscribers: #core_team
@@ -150,6 +150,7 @@ func TestResolve(t *testing.T) {
if err != nil {
t.Errorf("Resolve(baz): unexpected error: %v", err)
return
+ }
want := &linkpb.LinkReply{
Links: []*linkpb.Link{{
FileTicket: "kythe://test?path=foo",
@@ -162,7 +163,6 @@ func TestResolve(t *testing.T) {
if !proto.Equal(rsp, want) {
t.Errorf("Resolve(baz):\ngot %+v\nwant %+v", rsp, want)
}
- }
},
},
{
