You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for reporting. Given that the the relevant line is only calling the URL crate and that seems not to be able to handle this specific URL format it seems to be easier to put a comment about this into the .env.sample file. It would be great to receive a PR for this.
Setup
My .env:
Versions
Problem Description
I ran
cargo xtask run-tests --no-doc-tests postgres
and all 3 tests in diesel_cli::tests completion_generation failed atCause
line 111 is:
The url crate is used to parse a postgres connection url and I specified the host as a parameter.
I can just changed my .env to:
And now the shell completion tests worked.
Proposal
Either fix the test code or add a comment in .env.sample about this issue.
The text was updated successfully, but these errors were encountered: