Repository navigation
Add tests for project imports and constraint version conflicts - #9680
Merged
Merged
Conversation
geekosaur
approved these changes
Jan 31, 2024
geekosaur
left a comment
Collaborator
There was a problem hiding this comment.
You have a number of files without final newlines again.
Collaborator
Author
|
Thanks @geekosaur, fixed now. |
Mikolaj
approved these changes
Feb 1, 2024
Mikolaj
left a comment
Member
There was a problem hiding this comment.
Excellent. Particular thanks for the documentation of the tests.
- Allow for bad behaviour of master branch - Add cyclical checks with same file names and hops - Add cyclical import tests with 1 and 2 hops in cycle - Expected output has project with full project path - Add newlines at EOF
philderbeast
force-pushed
the
test/project-hop-imports
branch
from
February 1, 2024 11:56
86d66cb to
78fcdc6
Compare
Collaborator
Author
Collaborator
Author
|
Label merge+no rebase is necessary when the pull request is from an organisation. |
Member
4 of 5 tasks
Member
|
Ooops, I forgot to rebase, didn't I? |
Collaborator
Author
|
I rebased today didn't I? |
Member
|
Apparently somebody merged between then and our merge, but the git history complication is marginal this time. |
4 of 5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
While reviewing #9578, I saw opportunity for more project import tests in addition to those added in #9665. This also adds tests of constraint version priority capturing the current behaviour.
I've left comments in
cabal-testsuite/PackageTests/ConditionalAndImport/cabal.test.hswhere the current behaviour is not good.