@@ -4,7 +4,6 @@ import MultiDocumenter: DocumenterTools
4
4
FIXTURES = joinpath (@__DIR__ , " fixtures" )
5
5
6
6
@testset " walkdocs" begin
7
-
8
7
let fileinfos = DocumenterTools. FileInfo[]
9
8
rs = DocumenterTools. walkdocs (joinpath (FIXTURES, " pre" )) do fileinfo
10
9
push! (fileinfos, fileinfo)
@@ -14,7 +13,7 @@ FIXTURES = joinpath(@__DIR__, "fixtures")
14
13
@test joinpath (fileinfo. root, fileinfo. relpath) == fileinfo. fullpath
15
14
end
16
15
@test rs === nothing
17
- @test length (fileinfos) == 5
16
+ @test length (fileinfos) == 9
18
17
end
19
18
20
19
let fileinfos = []
@@ -26,7 +25,7 @@ FIXTURES = joinpath(@__DIR__, "fixtures")
26
25
@test joinpath (fileinfo. root, fileinfo. relpath) == fileinfo. fullpath
27
26
end
28
27
@test rs === nothing
29
- @test length (fileinfos) == 4
28
+ @test length (fileinfos) == 6
30
29
end
31
30
32
31
let rs = DocumenterTools. walkdocs (joinpath (FIXTURES, " pre" ), collect= true ) do fileinfo
@@ -35,7 +34,6 @@ FIXTURES = joinpath(@__DIR__, "fixtures")
35
34
@test length (rs) == 5
36
35
@test all (s -> isa (s, String), rs)
37
36
end
38
-
39
37
end
40
38
41
39
function withfiles (f, files:: Pair... )
0 commit comments