code: def test_merge_different_output_options(tmp_dir, dvc, caplog):
      (tmp_dir / "ancestor").touch()
  
      (tmp_dir / "our").write_text(
          "outs:\n- md5: f123456789.dir\n  hash: md5\n  path: path\n"
      )
  
      (tmp_dir / "their").write_text(
          "outs:\n"
          "- md5: f987654321.dir\n"
          "  hash: md5\n"
          "  path: path\n"
          "  cache: false\n"
      )
  
      assert (
          main(
              [
                  "git-hook",
                  "merge-driver",
                  "--ancestor",
                  "ancestor",
                  "--our",
                  "our",
                  "--their",
                  "their",
              ]
          )
          != 0
      )
  
      error = "unable to auto-merge outputs with different options"
      assert error in caplog.text
  
file_path: dvc/tests/func/test_merge_driver.py
imports: import os
  import pytest
  from dvc.cli import main
  from dvc.utils.fs import remove
label_desc: Use image node_id 4 for calling a global function with example usage: test_merge_different_output_options(tmp_dir, dvc, caplog) without return types