Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Textualize/rich
/ test_render_close
Function
test_render_close
tests/test_markup.py:137–140 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
135
136
137
def
test_render_close():
138
result = render(
"[bold]X[/]Y"
)
139
assert str(result) ==
"XY"
140
assert result.spans == [Span(0, 1,
"bold"
)]
141
142
143
def
test_render_close_ambiguous():
Callers
nothing calls this directly
Calls
2
render
Function · 0.90
Span
Class · 0.90
Tested by
no test coverage detected