Skip to content

Commit 034fd7f

Browse files
update conditional interceptor tests
1 parent ee8dcb1 commit 034fd7f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Tests/GRPCCoreTests/Call/ConditionalInterceptorTests.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ struct ConditionalInterceptorTests {
4848
[.fooBar, .fooBaz, .barFoo]
4949
),
5050
(
51-
.allMatching { descriptor in descriptor.method == "baz" },
51+
.allMatching { (_ descriptor: MethodDescriptor) -> Bool in
52+
descriptor.method == "baz"
53+
},
5254
[.fooBaz, .barBaz],
5355
[.fooBar, .barFoo]
5456
),

0 commit comments

Comments
 (0)