mirror of
https://github.com/icereed/paperless-gpt.git
synced 2025-03-12 21:08:00 -05:00
fix(tests): correct bounding box value in HOCR generation test
This commit is contained in:
parent
2b188faf52
commit
f771305f75
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ func TestGenerateHOCR(t *testing.T) {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
expected: "(?s).*<div class='ocr_page' id='page_1' title='image;bbox 0 0 800 600'>.*" +
|
expected: "(?s).*<div class='ocr_page' id='page_1' title='image;bbox 0 0 800 600'>.*" +
|
||||||
"<p class='ocr_par' id='par_1_1' title='bbox 80 60 720 120'>.*" +
|
"<p class='ocr_par' id='par_1_1' title='bbox 80 60 719 120'>.*" +
|
||||||
"<span class='ocrx_word'>Hello World</span>.*</p>.*</div>.*",
|
"<span class='ocrx_word'>Hello World</span>.*</p>.*</div>.*",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue