code: def test_truncate_text_smaller_than_max_length(with_ellipsis):
      text = "lorem ipsum"
  
      # exact match as length
      truncated = truncate_text(
          text, len(text), with_ellipsis=with_ellipsis
      )
      assert len(truncated) == len(text)
      assert truncated == text
  
      # max_length > len(text)
      truncated = truncate_text(
          text, len(text) + 1, with_ellipsis=with_ellipsis
      )
      assert len(truncated) == len(text)
      assert truncated == text
  
imports: from collections import OrderedDict
  import pytest
  from dvc.utils.humanize import get_summary, truncate_text
label_desc: Use image node_id 3 for calling a global function with example usage: test_truncate_text_smaller_than_max_length(with_ellipsis) without return types