Skip to content

Commit

Permalink
fixup! Allow @Metadata directives in doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
franklinsch committed Dec 3, 2024
1 parent 580adfb commit f6e7bf7
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions Tests/SwiftDocCTests/Semantics/SymbolTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1326,14 +1326,13 @@ class SymbolTests: XCTestCase {
XCTAssert(problems.isEmpty)

XCTAssertEqual(
try XCTUnwrap(
(node.semantic as? Symbol)?
.deprecatedSummary?
.content
.first?
.format()
.trimmingCharacters(in: .whitespaces)
),
(node.semantic as? Symbol)?
.deprecatedSummary?
.content
.first?
.format()
.trimmingCharacters(in: .whitespaces)
,
"This is the deprecation summary."
)
}
Expand Down

0 comments on commit f6e7bf7

Please sign in to comment.