-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: parse
~=
as version not as path (#804)
By adding the path parsing to the nameless matchspec I broke the parsing of `~= 1.2.3`. This PR changes a few things to better deal with that. - It now checks for `~/` to verify if it is a path - We can now parse `~/channel_name::package` as the tilde is now actually parsed instead of seen as part of the string. - Added a bunch more test cases to catch more issues in the future. --------- Co-authored-by: Bas Zalmstra <[email protected]>
- Loading branch information
1 parent
a635839
commit 98a555d
Showing
9 changed files
with
314 additions
and
63 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.