Skip to content

Add two missed assertions to application tests #14460

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

Merged

Conversation

dmitrykleymenov
Copy link
Contributor

@dmitrykleymenov dmitrykleymenov commented May 1, 2025

I'm not sure why here are two identical tests(with @app and :elixir, which the same), but we expect the message only once, and if something bad is sent from assert compile_env(:elixir, :unknown, :default) == [nested: [key: :value]], we will check the right message from assert compile_env(@app, :unknown, :default) == [nested: [key: :value]] and this will be a false positive result.

@josevalim josevalim merged commit c8223c5 into elixir-lang:main May 1, 2025
21 of 22 checks passed
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants