Permalink
Browse files

test: fix outline usage

  • Loading branch information...
kou committed Oct 22, 2017
1 parent d039743 commit 55b52d48a5c263a37e6288362ca5162479e36de0
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/test_pdf_surface.rb
View
@@ -25,11 +25,11 @@ def test_sub_outline
end
id = surface.add_outline(Cairo::PDFOutline::ROOT,
"top-level",
"destination",
"dest='destination'",
Cairo::PDFOutlineFlags::OPEN)
sub_id = surface.add_outline(sub_id,
"sub",
"destination",
"dest='destination'",
Cairo::PDFOutlineFlags::OPEN)
assert_equal(2, sub_id)
end

0 comments on commit 55b52d4

Please sign in to comment.