code: def test_adjoint():
      result = render("[red][blue]B[/blue]R[/red]")
      print(repr(result))
      assert result.spans == [Span(0, 2, "red"), Span(0, 1, "blue")]
  
imports: import pytest
  from rich.console import Console
  from rich.errors import MarkupError
  from rich.markup import RE_TAGS, Tag, _parse, escape, render
  from rich.text import Span, Text
label_desc: Use image node_id 13 for calling a global function with example usage: test_adjoint() without return types