-
-
Notifications
You must be signed in to change notification settings - Fork 256
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
URL Pointers are no longer left nil #317
Labels
Comments
ah, sorry for that, good catch! |
BorzdeG
pushed a commit
to BorzdeG/env
that referenced
this issue
Aug 24, 2024
* fix: retract v11.0.1, gate init nil pointers as it would automatically initialize nil pointers. this retracts that version, and gate this new feature behind an `init` tag option. closes caarlos0#317 refs caarlos0#306 * test: make sure caarlos0#310 is covered too closes caarlos0#310 * test: add test for multiple tag options Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> * fix: typo * perf: cheap first Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com> --------- Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Prior to 11.0.1 (related?) a URL pointer would be left
nil
if the environment variable was unset.I tried writing a quick test to illustrate:
The
unset
test case passes in v11.0.0 but fails in v11.0.1.The
set
test case always passes, and theempty
test case never passes (I'm guessing there is plumbing that does not differentiate between "" and unset).The text was updated successfully, but these errors were encountered: