From 7c9a9045f9d6ab6a7cbd19bfeef5fb4375d136fb Mon Sep 17 00:00:00 2001 From: George Barnett Date: Mon, 11 Nov 2024 09:51:06 +0000 Subject: [PATCH] Add missing import (#11) Motivation: The 'GRPCCore' import was missing from the health tests. Modifications: - Add missing import Result: More correct imports --- Package.swift | 1 + Tests/GRPCHealthServiceTests/HealthTests.swift | 1 + 2 files changed, 2 insertions(+) diff --git a/Package.swift b/Package.swift index 6b5a5ab..498ca2c 100644 --- a/Package.swift +++ b/Package.swift @@ -72,6 +72,7 @@ let targets: [Target] = [ name: "GRPCHealthServiceTests", dependencies: [ .target(name: "GRPCHealthService"), + .product(name: "GRPCCore", package: "grpc-swift"), .product(name: "GRPCInProcessTransport", package: "grpc-swift"), ], swiftSettings: defaultSwiftSettings diff --git a/Tests/GRPCHealthServiceTests/HealthTests.swift b/Tests/GRPCHealthServiceTests/HealthTests.swift index 10658d2..420db23 100644 --- a/Tests/GRPCHealthServiceTests/HealthTests.swift +++ b/Tests/GRPCHealthServiceTests/HealthTests.swift @@ -14,6 +14,7 @@ * limitations under the License. */ +import GRPCCore import GRPCHealthService import GRPCInProcessTransport import XCTest