! exec pint --no-color config
! stdout .
cmp stderr stderr.txt

-- stderr.txt --
level=INFO msg="Loading configuration file" path=.pint.hcl
level=ERROR msg="Execution completed with error(s)" err="failed to load config file \".pint.hcl\": .pint.hcl:7,3-6: Unsupported argument; An argument named \"bob\" is not expected here."
-- .pint.hcl --
prometheus "prom" {
  uri     = "http://127.0.0.1"
  required = true
}

check "promql/series" {
  bob = [
    ".*_error",
    ".*_error_.*",
    ".*_errors",
    ".*_errors_.*",
  ]
}
