Skip to content

Commit 6462830

Browse files
committed
Fixing for AbstractTree 0.3.x
1 parent 201be61 commit 6462830

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ RomanNumerals = "37834d88-8936-577c-80c9-1066ecf66832"
2020
Zlib_jll = "83775a58-1f1d-513f-b197-d71354ab007a"
2121

2222
[compat]
23-
AbstractTrees = "0.2.1"
23+
AbstractTrees = "0.3"
2424
AdobeGlyphList = "0.1.1"
2525
BinDeps = "0.8.10"
2626
LabelNumerals = "0.1.0"

test/runtests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ end
566566
pdDocGetPageRange(doc, "iii")
567567
outline = pdDocGetOutline(doc)
568568
iobuf = IOBuffer()
569-
print_tree(iobuf, outline)
569+
print_tree(iobuf, outline, maxdepth=10)
570570
write("431.toc.res", take!(iobuf))
571571
@assert files_equal("431.toc.res", pdftest_dir*"templates/431.toc")
572572
pdDocClose(doc)
@@ -587,7 +587,7 @@ end
587587
doc = pdDocOpen(filename)
588588
outline = pdDocGetOutline(doc)
589589
iobuf = IOBuffer()
590-
print_tree(iobuf, outline)
590+
print_tree(iobuf, outline, maxdepth=10)
591591
write("outline.toc.res", take!(iobuf))
592592
@assert files_equal("outline.toc.res", pdftest_dir*"templates/outline.toc")
593593
@assert pdOutlineItemGetAttr(outline[1][1][1][1])[:Destination][2].pageno == 5

0 commit comments

Comments
 (0)