fix(tests): correct bounding box value in HOCR generation test

This commit is contained in:
Dominik Schröter 2025-03-10 09:33:32 +01:00
parent 2b188faf52
commit f771305f75

View file

@ -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>.*",
}, },
} }