Skip to content

Commit

Permalink
Fix formatted output
Browse files Browse the repository at this point in the history
  • Loading branch information
j-f1 committed Feb 6, 2024
1 parent 6eda079 commit 7e9a056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/SwiftDocCTests/Semantics/DoxygenTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class DoxygenTests: XCTestCase {
let symbol = try XCTUnwrap(node.semantic as? Symbol)

XCTAssertEqual(symbol.abstract?.format(), "This is an abstract.")
XCTAssertEqual(symbol.discussion?.content.map { $0.format() }, ["This is a discussion.", "This is a note."])
XCTAssertEqual(symbol.discussion?.content.map { $0.format() }, [#"\discussion This is a discussion."#, #"\note This is a note."#])

// Verify the expected content in the render model
var translator = RenderNodeTranslator(context: context, bundle: bundle, identifier: node.reference, source: nil)
Expand Down

0 comments on commit 7e9a056

Please sign in to comment.