code: def test_correct(spans, expected):
      text = "test this \nnext\ttext."
      tokens = ["test", "this", "\n", "next", "\t", "text", "."]
      span_utils = SpanUtils(text, tokens)
  
      assert span_utils.correct(spans) == expected
  
file_path: argilla/tests/unit/utils/test_span_utils.py
imports: import pytest
  from argilla.utils.span_utils import SpanUtils
label_desc: Use image node_id 7 for calling a global function with example usage: test_correct(spans, expected) without return types