We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9fadf7 commit 7e16722Copy full SHA for 7e16722
Tests/GRPCCodeGenTests/Internal/Renderer/TextBasedRendererTests.swift
@@ -850,11 +850,17 @@ final class Test_TextBasedRenderer: XCTestCase {
850
StructDescription(
851
name: "Structy",
852
generics: [.member("T")],
853
- whereClause: WhereClause(requirements: [.conformance("T", "Foo")])
+ whereClause: WhereClause(
854
+ requirements: [
855
+ .conformance("T", "Foo"),
856
+ .conformance("T", "Sendable")
857
+ ]
858
+ )
859
),
- renderedBy: { $0.renderStruct(_:) },
860
+ renderedBy: { $0.renderStruct(_:)
861
+ },
862
rendersAs: #"""
- struct Structy<T> where T: Foo {}
863
+ struct Structy<T> where T: Foo, T: Sendable {}
864
"""#
865
)
866
try _test(
0 commit comments