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 ded8478 commit aa33e18Copy full SHA for aa33e18
Tests/SwiftDocCTests/Infrastructure/DocumentationContext/DocumentationContext+RootPageTests.swift
@@ -212,7 +212,7 @@ class DocumentationContext_RootPageTests: XCTestCase {
212
// Verify each warning has a solution to remove the TechnologyRoot directive
213
for problem in multipleRootsProblems {
214
XCTAssertEqual(problem.possibleSolutions.count, 1)
215
- let solution = problem.possibleSolutions.first!
+ let solution = try XCTUnwrap(problem.possibleSolutions.first)
216
XCTAssertEqual(solution.summary, "Remove the 'TechnologyRoot' directive")
217
XCTAssertEqual(solution.replacements.count, 1)
218
}
0 commit comments