Skip to content

Test setup for preserved whitespace on AST #1995

Open
@german1608

Description

@german1608

From #1991 we noticed that we don't have tests to ensure that the preserved whitespace on some of our AST constructors is what we expect on other packages (dhall-docs, for instance).

To tackle this, we can have a golden test setup, similar to what we have in other packages (see dhall-docs and dhall-json error messages tests) that take the output generated from dhall haskell-syntax-tree --noted command and compare to the golden source files.

The test cases should handle the following constructors:

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildBuilding, testing, installing, packaging, etcparser

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions