Skip to content

Commit 7e16722

Browse files
committed
another test
1 parent f9fadf7 commit 7e16722

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

Tests/GRPCCodeGenTests/Internal/Renderer/TextBasedRendererTests.swift

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -850,11 +850,17 @@ final class Test_TextBasedRenderer: XCTestCase {
850850
StructDescription(
851851
name: "Structy",
852852
generics: [.member("T")],
853-
whereClause: WhereClause(requirements: [.conformance("T", "Foo")])
853+
whereClause: WhereClause(
854+
requirements: [
855+
.conformance("T", "Foo"),
856+
.conformance("T", "Sendable")
857+
]
858+
)
854859
),
855-
renderedBy: { $0.renderStruct(_:) },
860+
renderedBy: { $0.renderStruct(_:)
861+
},
856862
rendersAs: #"""
857-
struct Structy<T> where T: Foo {}
863+
struct Structy<T> where T: Foo, T: Sendable {}
858864
"""#
859865
)
860866
try _test(

0 commit comments

Comments
 (0)