Skip to content

Commit fac3abc

Browse files
committed
parse: clean up test
1 parent d4cc803 commit fac3abc

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

parse/parse_test.go

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -22,24 +22,4 @@ func TestReadDir(t *testing.T) {
2222
t.Fatal(err)
2323
}
2424
proto.Sort()
25-
26-
// if proto.Messages[51].Name != "MemberAddResponse" {
27-
// t.Fatalf("expected 'MemberAddResponse', got %+v", proto.Messages[51])
28-
// }
29-
30-
// if proto.Messages[75].Name != "WatchCreateRequest" {
31-
// t.Fatalf("expected 'WatchCreateRequest', got %+v", proto.Messages[75])
32-
// }
33-
// if len(proto.Services[3].Methods) != 1 {
34-
// t.Fatalf("expected 3 methods, got %d(%+v)", len(proto.Services[3].Methods), proto.Services[3].Methods)
35-
// }
36-
// if proto.Services[3].Methods[0].Name != "LeaseGrant" {
37-
// t.Fatalf("expected 'LeaseGrant', got %+v", proto.Services[3].Methods[0])
38-
// }
39-
// if proto.Services[3].Methods[1].Name != "LeaseRevoke" {
40-
// t.Fatalf("expected 'LeaseRevoke', got %+v", proto.Services[3].Methods[1])
41-
// }
42-
// if proto.Services[3].Methods[2].Name != "LeaseKeepAlive" {
43-
// t.Fatalf("expected 'LeaseKeepAlive', got %+v", proto.Services[3].Methods[2])
44-
// }
4525
}

0 commit comments

Comments
 (0)