Skip to content

Commit e519637

Browse files
authored
Fix test_from_rich_text in test_content.py.
1 parent 3427dba commit e519637

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_content.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def test_from_rich_text():
5252
content = Content.from_rich_text(text)
5353
assert len(content) == 11
5454
assert content.plain == "Hello World"
55-
assert [Span(start=0, end=5, style="red"), Span(start=6, end=11, style="blue")]
55+
assert content.spans == [Span(start=0, end=5, style="red"), Span(start=6, end=11, style="blue")]
5656

5757

5858
def test_styled():

0 commit comments

Comments
 (0)