Skip to content

Commit d070852

Browse files
committed
unfail test
1 parent bc2b533 commit d070852

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Sources/MarkdownRenderingTests/Main.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ enum Main:TestMain, TestBattery
405405

406406
func load(_ reference:Int, into html:inout HTML.ContentEncoder)
407407
{
408-
html[.a, { $0.href = "swiftinit.org" }] = String.init(reference,
408+
html[.a, { $0.href = "https://swiftinit.org" }] = String.init(reference,
409409
radix: 16)
410410
}
411411
}
@@ -414,7 +414,7 @@ enum Main:TestMain, TestBattery
414414
let html:HTML = .init { $0 += renderable }
415415

416416
tests.expect(html.description ==?
417-
"<p>before<a href='swiftinit.org'>aabbccdd</a>after</p>")
417+
"<p>before<a href='https://swiftinit.org'>aabbccdd</a>after</p>")
418418
}
419419
if let tests:TestGroup = tests / "ReferenceAttributes"
420420
{
@@ -442,7 +442,7 @@ enum Main:TestMain, TestBattery
442442

443443
func load(_ reference:Int, for _:Markdown.Bytecode.Attribute) -> String?
444444
{
445-
reference & 1 == 0 ? nil : "swiftinit.org"
445+
reference & 1 == 0 ? nil : "https://swiftinit.org"
446446
}
447447
}
448448

@@ -467,7 +467,7 @@ enum Main:TestMain, TestBattery
467467
<pre><code>\
468468
<span class='xk'>let</span> \
469469
<span class='xv'>x</span>:\
470-
<a class='xt' href='swiftinit.org'>Int</a>\
470+
<a class='xt' href='https://swiftinit.org'>Int</a>\
471471
</code></pre>
472472
""")
473473
}

0 commit comments

Comments
 (0)