MCPcopy
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
107def 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
113def test_render_combine():

Callers

nothing calls this directly

Calls 2

renderFunction · 0.90
SpanClass · 0.90

Tested by

no test coverage detected