hcl/cmd/hclspecsuite
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
..
diagnostics.go cmd/hclspecsuite: Check for expected diagnostics 2018-08-12 10:08:27 -07:00
log.go specsuite: Start of the harness for the specification test suite 2018-08-09 19:29:32 -07:00
main.go cmd/hclspecsuite: Decode expected traversals and diagnostics 2018-08-11 20:21:32 -07:00
README.md specsuite: Start of the harness for the specification test suite 2018-08-09 19:29:32 -07:00
runner.go cmd/hclspecsuite: Check for expected diagnostics 2018-08-12 10:08:27 -07:00
test_file.go cmd/hclspecsuite: Check for traversals when requested 2018-08-12 09:31:28 -07:00
traversals.go cmd/hclspecsuite: Check for traversals when requested 2018-08-12 09:31:28 -07:00

hclspecsuite

hclspecsuite is the test harness for the HCL specification test suite.