|
|
@@ -61,7 +61,8 @@ struct ProtobufCodeGenParserTests {
|
|
|
@Test("Dependencies")
|
|
|
func dependencies() {
|
|
|
let expected: [GRPCCodeGen.Dependency] = [
|
|
|
- .init(module: "GRPCProtobuf", accessLevel: .internal) // Always an internal import
|
|
|
+ .init(module: "GRPCProtobuf", accessLevel: .internal), // Always an internal import
|
|
|
+ .init(module: "SwiftProtobuf", accessLevel: .internal),
|
|
|
]
|
|
|
#expect(self.codeGen.dependencies == expected)
|
|
|
}
|
|
|
@@ -173,7 +174,8 @@ struct ProtobufCodeGenParserTests {
|
|
|
@Test("Dependencies")
|
|
|
func dependencies() {
|
|
|
let expected: [GRPCCodeGen.Dependency] = [
|
|
|
- .init(module: "GRPCProtobuf", accessLevel: .internal) // Always an internal import
|
|
|
+ .init(module: "GRPCProtobuf", accessLevel: .internal), // Always an internal import
|
|
|
+ .init(module: "SwiftProtobuf", accessLevel: .internal),
|
|
|
]
|
|
|
#expect(self.codeGen.dependencies == expected)
|
|
|
}
|