Skip to content

Commit

Permalink
Update test URL to use characters that DocC will replace with "-"
Browse files Browse the repository at this point in the history
  • Loading branch information
d-ronnqvist committed May 12, 2023
1 parent f931ef3 commit 7d1f3bd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class ResolvedTopicReferenceTests: XCTestCase {
do {
let resolvedOriginal = ResolvedTopicReference(bundleIdentifier: "bundleID", path: "/path/sub-path", fragment: "fragment", sourceLanguage: .swift)

let unresolved = UnresolvedTopicReference(topicURL: ValidatedURL(parsingExact: "doc://host.name/;;;")!)
let unresolved = UnresolvedTopicReference(topicURL: ValidatedURL(parsingExact: "doc://host.name/🌎🌍🌏")!)
XCTAssertFalse(unresolved.path.isEmpty)

let appended = resolvedOriginal.appendingPathOfReference(unresolved)
Expand Down

0 comments on commit 7d1f3bd

Please sign in to comment.