code: def test_diff_unsupported_diff_message(extra, expected):
      td = diff_table(
          {"metrics.json": {"": {"old": "1", "new": "2"}}},
          title="Metric",
          **extra,
      )
      assert td.as_dict() == [
          {
              "Path": "metrics.json",
              "Metric": "",
              "HEAD": "1",
              "workspace": "2",
              "Change": expected,
          }
      ]
  
imports: import textwrap
  import pytest
  from dvc.compare import diff_table, metrics_table, show_diff, show_metrics
  from dvc.utils.serialize import YAMLFileCorruptedError
label_desc: Use image node_id 7 for calling a global function with example usage: test_diff_unsupported_diff_message(extra, expected) without return types