This commit is contained in:
parent
629bb2c756
commit
5c9e32d119
6 changed files with 7 additions and 7 deletions
|
|
@ -83,7 +83,7 @@ function test:page-image(){
|
|||
};
|
||||
|
||||
declare %unit:test
|
||||
function test:pdf-with(){
|
||||
function test:with-pdf(){
|
||||
let $path:=test:resolve("samples.pdf/BaseX100.pdf")
|
||||
let $txt:=pdfbox:with-pdf($path,pdfbox:page-text(?,101))
|
||||
return unit:assert(starts-with($txt,"Options"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue