We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3767476 commit dbd2a8fCopy full SHA for dbd2a8f
test/symlinks/tests.jl
@@ -1,4 +1,6 @@
1
+using Test
2
using Documenter
3
+include("../TestUtilities.jl"); using Main.TestUtilities
4
5
const pages = [
6
"Home" => "index.md",
@@ -9,10 +11,12 @@ const pages = [
9
11
10
12
@testset "Symlinks" begin
13
# check that the symlinked page is built at all
- @test isdir("symlinks/build/other")
- @test isfile("symlinks/build/other/index.html")
14
+ other = joinpath(@__DIR__, "build", "other")
15
+ @test isdir(other)
16
+ other_index = joinpath(other, "index.html")
17
+ @test isfile(other_index)
18
19
# check that it contains what we want
- filecontents = read("symlinks/build/other/index.html", String)
20
+ filecontents = read(other_index, String)
21
@test occursin("another test", filecontents)
22
end
0 commit comments