Skip to content

Test suite doesn't build on darwin #2

Closed
@sternenseemann

Description

@sternenseemann

Due to the case insensitive nature of darwin's file system GHC will complain that it can't distinguish between hedgehog.hs which is supposedly a Main module and the Hedgehog module in scope, resulting in the following, quite confusing error:

test/Hedgehog.hs:1:1: error:
    File name does not match module name:
    Saw: ‘Main’
    Expected: ‘Hedgehog’

Renaming the test entrypoint to Main.hs or similar should fix this.

Metadata

Metadata

Assignees

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