@@ -68,7 +68,7 @@ func TestTopicSubscriptionList(t *testing.T) {
68
68
resp , err := server .ListTopicSubscriptions (context .Background (), & empty.Empty {})
69
69
require .NoError (t , err )
70
70
assert .NotNil (t , resp )
71
- if assert .Lenf (t , resp .Subscriptions , 1 , "expected 1 handlers" ) {
71
+ if assert .Len (t , resp .Subscriptions , 1 , "expected 1 handlers" ) {
72
72
sub := resp .Subscriptions [0 ]
73
73
assert .Equal (t , "messages" , sub .PubsubName )
74
74
assert .Equal (t , "test" , sub .Topic )
@@ -87,7 +87,7 @@ func TestTopicSubscriptionList(t *testing.T) {
87
87
resp , err = server .ListTopicSubscriptions (context .Background (), & empty.Empty {})
88
88
require .NoError (t , err )
89
89
assert .NotNil (t , resp )
90
- if assert .Lenf (t , resp .Subscriptions , 1 , "expected 1 handlers" ) {
90
+ if assert .Len (t , resp .Subscriptions , 1 , "expected 1 handlers" ) {
91
91
sub := resp .Subscriptions [0 ]
92
92
assert .Equal (t , "messages" , sub .PubsubName )
93
93
assert .Equal (t , "test" , sub .Topic )
@@ -113,7 +113,7 @@ func TestTopicSubscriptionList(t *testing.T) {
113
113
resp , err := server .ListTopicSubscriptions (context .Background (), & empty.Empty {})
114
114
require .NoError (t , err )
115
115
assert .NotNil (t , resp )
116
- if assert .Lenf (t , resp .Subscriptions , 1 , "expected 1 handlers" ) {
116
+ if assert .Len (t , resp .Subscriptions , 1 , "expected 1 handlers" ) {
117
117
sub := resp .Subscriptions [0 ]
118
118
assert .Equal (t , "messages" , sub .PubsubName )
119
119
assert .Equal (t , "test" , sub .Topic )
@@ -132,7 +132,7 @@ func TestTopicSubscriptionList(t *testing.T) {
132
132
resp , err = server .ListTopicSubscriptions (context .Background (), & empty.Empty {})
133
133
require .NoError (t , err )
134
134
assert .NotNil (t , resp )
135
- if assert .Lenf (t , resp .Subscriptions , 1 , "expected 1 handlers" ) {
135
+ if assert .Len (t , resp .Subscriptions , 1 , "expected 1 handlers" ) {
136
136
sub := resp .Subscriptions [0 ]
137
137
assert .Equal (t , "messages" , sub .PubsubName )
138
138
assert .Equal (t , "test" , sub .Topic )
0 commit comments