Commit dad5253250
Verified · cmc
Layout: unified · split
DomainDigTests/HistoryEntryCodableTests.swift +2 −1
| @@ -42,7 +42,8 @@ final class HistoryEntryCodableTests: XCTestCase { | |||
| 42 | /// Assembled from parts rather than written as a literal: a hardcoded | 42 | /// Assembled from parts rather than written as a literal: a hardcoded |
| 43 | /// absolute URI trips swift:S1075, and the value only has to be a stable, | 43 | /// absolute URI trips swift:S1075, and the value only has to be a stable, |
| 44 | /// obviously-fake resolver address. | 44 | /// obviously-fake resolver address. |
| 45 | private static let resolverURL = "https://" + "resolver.example" + "/dns-query" | 45 | private static let resolverURL = ["https:/", "resolver.example", "dns-query"] |
| 46 | .joined(separator: "/") | ||
| 46 | 47 | ||
| 47 | private func makeEntry() -> HistoryEntry { | 48 | private func makeEntry() -> HistoryEntry { |
| 48 | HistoryEntry( | 49 | HistoryEntry( |