Skip to content

Add test for importing relative to the home directory#1250

Merged
Gabriella439 merged 2 commits intomasterfrom
basile-henry/test-import-home
Dec 5, 2021
Merged

Add test for importing relative to the home directory#1250
Gabriella439 merged 2 commits intomasterfrom
basile-henry/test-import-home

Conversation

@basile-henry
Copy link
Copy Markdown
Collaborator

The current test suite doesn't seem to cover the case where an import is relative to home: ~

Well it does cover it for parsing, but that's it. The dhall-rust
implementation had a bug when it came to resolving the home directory that went
uncaught for a while: Nadrieril/dhall-rust#224

Note: I am not sure about the environment variable for Windows and if it's
enough to mock the location of ~. Could someone using Windows check?

@Gabriella439 Gabriella439 merged commit 6cf0882 into master Dec 5, 2021
@Gabriella439 Gabriella439 deleted the basile-henry/test-import-home branch December 5, 2021 17:34
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

Successfully merging this pull request may close these issues.

2 participants