Skip to content

Commit c4f8e61

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

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/runtests.jl

Lines changed: 3 additions & 3 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
@@ -98,7 +98,7 @@ end
9898
success = [true],
9999
server_type = "github",
100100
api_url="",
101-
hosted_uri=["https://docs.sciml.ai/Overview/"],
101+
hosted_uri=["https://docs.sciml.ai/Overview"],
102102
doctype = ["hosted"],
103103
),
104104
# with docs
@@ -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)