code: def test_diff_list(composite, expected):
      td = diff_table(
          {"params.yaml": {"a.b.c": {"old": 1, "new": composite}}},
          "Param",
      )
      assert td.as_dict() == [
          {
              "Path": "params.yaml",
              "Param": "a.b.c",
              "HEAD": "1",
              "workspace": expected,
              "Change": "-",
          }
      ]
  
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 12 for calling a global function with example usage: test_diff_list(composite, expected) without return types