code: def test_check_ignore_details_all(tmp_dir, dvc, capsys):
      tmp_dir.gen(DvcIgnore.DVCIGNORE_FILE, "f*\n!foo")
  
      assert main(["check-ignore", "-d", "-a", "foo"]) == 0
      out, _ = capsys.readouterr()
      assert f"{DvcIgnore.DVCIGNORE_FILE}:1:f*\tfoo\n" in out
      assert f"{DvcIgnore.DVCIGNORE_FILE}:2:!foo\tfoo\n" in out
  
file_path: dvc/tests/func/test_check_ignore.py
imports: import os
  import pytest
  from dvc.cli import main
  from dvc.ignore import DvcIgnore
label_desc: Use image node_id 10 for calling a global function with example usage: test_check_ignore_details_all(tmp_dir, dvc, capsys) without return types