hcl/specsuite/tests/structure/attributes
Martin Atkins a5c0f7fdcc cmd/hclspecsuite: Check for expected diagnostics
When a test file declares one or more expected diagnostics, we check those
instead of checking the result value. The severities and source ranges
must match.

We don't test the error messages themselves because they are not part of
the specification and may vary between implementations or, in future, be
translated into other languages.
2018-08-12 10:08:27 -07:00
..
expected.hcl specsuite: Initial test for top-level attribute handling 2018-08-10 08:57:59 -07:00
expected.hcldec specsuite: Initial test for top-level attribute handling 2018-08-10 08:57:59 -07:00
expected.t specsuite: Initial test for top-level attribute handling 2018-08-10 08:57:59 -07:00
singleline_bad.hcl cmd/hclspecsuite: Check for expected diagnostics 2018-08-12 10:08:27 -07:00
singleline_bad.hcldec cmd/hclspecsuite: Check for expected diagnostics 2018-08-12 10:08:27 -07:00
singleline_bad.t cmd/hclspecsuite: Check for expected diagnostics 2018-08-12 10:08:27 -07:00