Static Methodswift-testing 6.0.2Testing
__documentationBlock(_:)
Construct a comment related to a test from a Markup block comment near it.
Comment+Macro.swift:66static func __documentationBlock(_ comment: String) -> Self
Parameters
- comment
The comment about the test.
Returns
An instance of Comment
containing the specified comment.
Other members in extension
Type members
Show implementation details (3)
Hide implementation details
static func __block(String
) -> Self Construct a comment related to a test from a source code block comment near it.
static func __documentationLine(String
) -> Self Construct a comment related to a test from a single-line Markup comment near it.
static func __line(String
) -> Self Construct a comment related to a test from a single-line source code comment near it.
Show system interfaces (1)
Hide system interfaces
static func comment(String
) -> Self Construct a comment related to a test.