Skip to content

Commit b987502

Browse files
Kyle-Yed-ronnqvist
andcommitted
Update Tests/SwiftDocCTests/Semantics/MarkupReferenceResolverTests.swift
Co-authored-by: David Rönnqvist <david.ronnqvist@gmail.com>
1 parent 825b8af commit b987502

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Tests/SwiftDocCTests/Semantics/MarkupReferenceResolverTests.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,6 @@ class MarkupReferenceResolverTests: XCTestCase {
3535
// - one with a source location in the documentation extension file.
3636
// The source range was only valid for one of these diagnostics. This resulted in an index out of range crash in DefaultDiagnosticConsoleFormatter when displaying line that caused the problem to the user
3737
XCTAssertEqual(1, context.problems.count)
38+
XCTAssertEqual("Server.md", context.problems.first?.diagnostic.source?.lastPathComponent)
3839
}
3940
}

0 commit comments

Comments
 (0)