Skip to content

Commit 20f1725

Browse files
committed
fix tests
1 parent 332ad64 commit 20f1725

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test/documentertools.jl

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import MultiDocumenter: DocumenterTools
44
FIXTURES = joinpath(@__DIR__, "fixtures")
55

66
@testset "walkdocs" begin
7-
87
let fileinfos = DocumenterTools.FileInfo[]
98
rs = DocumenterTools.walkdocs(joinpath(FIXTURES, "pre")) do fileinfo
109
push!(fileinfos, fileinfo)
@@ -14,7 +13,7 @@ FIXTURES = joinpath(@__DIR__, "fixtures")
1413
@test joinpath(fileinfo.root, fileinfo.relpath) == fileinfo.fullpath
1514
end
1615
@test rs === nothing
17-
@test length(fileinfos) == 5
16+
@test length(fileinfos) == 9
1817
end
1918

2019
let fileinfos = []
@@ -26,7 +25,7 @@ FIXTURES = joinpath(@__DIR__, "fixtures")
2625
@test joinpath(fileinfo.root, fileinfo.relpath) == fileinfo.fullpath
2726
end
2827
@test rs === nothing
29-
@test length(fileinfos) == 4
28+
@test length(fileinfos) == 6
3029
end
3130

3231
let rs = DocumenterTools.walkdocs(joinpath(FIXTURES, "pre"), collect=true) do fileinfo
@@ -35,7 +34,6 @@ FIXTURES = joinpath(@__DIR__, "fixtures")
3534
@test length(rs) == 5
3635
@test all(s -> isa(s, String), rs)
3736
end
38-
3937
end
4038

4139
function withfiles(f, files::Pair...)

0 commit comments

Comments
 (0)