Skip to content

Commit a818810

Browse files
committed
chore: adjust test
1 parent a934aa7 commit a818810

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/runtests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const julia = first(Base.julia_cmd())
55

66
@test length(keys(DocumentationGenerator.installable_on_version(joinpath(homedir(), ".julia", "registries", "General"), VERSION))) > 1500
77

8-
@test DocumentationGenerator.maybe_redirect("https://docs.julialang.org/") == "https://docs.julialang.org/en/v1"
8+
@test strip(DocumentationGenerator.maybe_redirect("https://docs.julialang.org/"), ['/']) == "https://docs.julialang.org/en/v1"
99

1010
@testset "Running code with a timeout" begin
1111
let
@@ -358,7 +358,7 @@ end
358358
@test pkgdoctype == pkg.doctype[i]
359359

360360
if pkg.doctype[i] == "hosted"
361-
@test get(toml, "hosted_uri", "") == pkg.hosted_uri[i]
361+
@test strip(get(toml, "hosted_uri", ""), ['/']) == pkg.hosted_uri[i]
362362
end
363363

364364
if pkginstalls == true

0 commit comments

Comments
 (0)