Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test suite doesn't build on darwin #2

Closed
sternenseemann opened this issue Aug 6, 2021 · 0 comments
Closed

Test suite doesn't build on darwin #2

sternenseemann opened this issue Aug 6, 2021 · 0 comments
Assignees

Comments

@sternenseemann
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants