Skip to content

Commit 5b871e9

Browse files
authored
Update OcrServiceTests.cs
1 parent 3c9e68a commit 5b871e9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

CreatePdf.NET.Tests/OcrServiceTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public async Task AddText_HelloWorld_IsReadableByOcr()
2424
public async Task AddPixelText_HelloWorld_IsReadableByOcr()
2525
{
2626
var ocrResult = await Pdf.Create()
27-
.AddPixelText("Hello World", Dye.Black, Dye.White, PixelTextSize.Medium)
27+
.AddPixelText("Hello World", Dye.Black, Dye.White, PixelTextSize.Tiny)
2828
.SaveAndOcr("AddPixelText_HelloWorld");
2929

3030
ocrResult.Should().NotBeNullOrWhiteSpace()
@@ -55,4 +55,4 @@ public void GetTesseractArguments_ValidPaths_ReturnsProperArguments()
5555
.And.Contain("-l eng", "should specify English language")
5656
.And.EndWith("--psm 6", "should use page segmentation mode 6");
5757
}
58-
}
58+
}

0 commit comments

Comments
 (0)