code: def test_line_splitter_corner_cases() -> None:
      line_splitter = LineSplitter()
      lines = line_splitter.process("")
      assert_equal(lines, [])
      assert_equal(line_splitter.remaining_data, None)
  
      line_splitter = LineSplitter()
      lines = line_splitter.process("")
      assert_equal(lines, [])
      lines = line_splitter.process("\n")
      assert_equal(lines, [""])
      assert_equal(line_splitter.remaining_data, None)
  
      line_splitter = LineSplitter()
      lines = line_splitter.process("  a   \f \r\n")
      assert_equal(lines, ["  a   ", " "])
  
file_path: datalad/datalad/runner/tests/test_utils.py
imports: from __future__ import annotations
  from typing import Optional
  from unittest.mock import call, patch
  from datalad.tests.utils_pytest import assert_equal, assert_in, assert_is_none
  from ..utils import AssemblingDecoderMixIn, LineSplitter
label_desc: Use image node_id 6 for calling a global function with example usage: test_line_splitter_corner_cases() without return types