Skip to content

Commit d8d7068

Browse files
update conditional interceptor tests
1 parent 64c3e59 commit d8d7068

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/GRPCCoreTests/Call/ConditionalInterceptorTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ struct ConditionalInterceptorTests {
4848
[.fooBar, .fooBaz, .barFoo]
4949
),
5050
(
51-
.allMatching({ methodDescriptor in methodDescriptor.method == "baz" }),
51+
.allMatching({ descriptor in descriptor.method == "baz" }),
5252
[.fooBaz, .barBaz],
5353
[.fooBar, .barFoo]
5454
),
@@ -70,7 +70,7 @@ struct ConditionalInterceptorTests {
7070
}
7171
}
7272

73-
@available(gRPCSwift 2.0, *)
73+
@available(gRPCSwift 2.2, *)
7474
extension ServiceDescriptor {
7575
fileprivate static let foo = Self(fullyQualifiedService: "pkg.foo")
7676
fileprivate static let bar = Self(fullyQualifiedService: "pkg.bar")

0 commit comments

Comments
 (0)