Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Textualize/rich
/ test_render_link
Function
test_render_link
tests/test_markup.py:107–110 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
105
106
107
def
test_render_link():
108
result = render(
"[link=foo]FOO[/link]"
)
109
assert str(result) ==
"FOO"
110
assert result.spans == [Span(0, 3,
"link foo"
)]
111
112
113
def
test_render_combine():
Callers
nothing calls this directly
Calls
2
render
Function · 0.90
Span
Class · 0.90
Tested by
no test coverage detected