mirror of
https://github.com/unidoc/unipdf.git
synced 2025-05-04 22:17:22 +08:00
Adjust division test
This commit is contained in:
parent
d4da6857b7
commit
555b70017e
@ -139,13 +139,14 @@ func TestDivInline(t *testing.T) {
|
||||
style.Color = ColorRGBFrom8bit(0, 0, 255)
|
||||
|
||||
s := NewStyledParagraph("This styled paragraph should ", style)
|
||||
s.SetEnableWrap(false)
|
||||
|
||||
style.Color = ColorRGBFrom8bit(255, 0, 0)
|
||||
s.Append("fit", style)
|
||||
|
||||
style.Color = ColorRGBFrom8bit(0, 255, 0)
|
||||
style.Font = fontBold
|
||||
s.Append(" right in.", style)
|
||||
s.Append(" in.", style)
|
||||
|
||||
div.Add(s)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user