Skip to content

Tests fail to compile when enableSwagger is false #207

@j6carey

Description

@j6carey

To reproduce:

$ nix-build -A proto3-suite --arg enableSwagger false
...
tests/TestCodeGen.hs:18:1: error:
    Could not find module ‘Data.Swagger’
    Perhaps you meant
      Data.Tagged (needs flag -package-key tagged-0.8.6.1)
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.
   |
18 | import           Data.Swagger                   (ToSchema)
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/TestCodeGen.hs:19:1: error:
    Could not find module ‘Data.Swagger’
    Perhaps you meant
      Data.Tagged (needs flag -package-key tagged-0.8.6.1)
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.
   |
19 | import qualified Data.Swagger
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions