We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3427dba commit e519637Copy full SHA for e519637
tests/test_content.py
@@ -52,7 +52,7 @@ def test_from_rich_text():
52
content = Content.from_rich_text(text)
53
assert len(content) == 11
54
assert content.plain == "Hello World"
55
- assert [Span(start=0, end=5, style="red"), Span(start=6, end=11, style="blue")]
+ assert content.spans == [Span(start=0, end=5, style="red"), Span(start=6, end=11, style="blue")]
56
57
58
def test_styled():
0 commit comments