Skip to content
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

Address deprecation; prefer ExUnit.Case.register_test/6 #776

Merged

Conversation

vanderhoop
Copy link
Contributor

@vanderhoop vanderhoop commented Jun 6, 2024

  • ExUnit.Case.register_test/6 has been available since Elixir 1.11.0, and now triggers deprecation warnings as of Elixir 1.17. This would be a breaking change if the intention is to support Elixir versions prior to 1.11, but I think we're all good on that front, given the existing CI version matrix

vanderhoop added a commit to vanderhoop/elixir that referenced this pull request Jun 6, 2024
while addressing the `ExUnit.Case.register_test/3` deprecation in elixir-wallaby/wallaby#776, I wondered how long `register_test/6` had been around. In looking at the source and the docs, I uncovered what I believe is an incorrect `since` attribute
@vanderhoop vanderhoop force-pushed the address-register-test-deprecation branch from bb8066e to 05247fa Compare June 6, 2024 02:04
  - ExUnit.Case.register_test/6 has been available since Elixir 1.11.0,
    and now triggers deprecation warnings as of Elixir 1.17
@vanderhoop vanderhoop force-pushed the address-register-test-deprecation branch from 05247fa to 80f473b Compare June 6, 2024 02:17
@mhanberg mhanberg merged commit 16d050c into elixir-wallaby:main Jun 6, 2024
6 of 10 checks passed
@mhanberg
Copy link
Member

mhanberg commented Jun 6, 2024

Thanks!

josevalim pushed a commit to elixir-lang/elixir that referenced this pull request Jun 6, 2024
while addressing the `ExUnit.Case.register_test/3` deprecation in elixir-wallaby/wallaby#776, I wondered how long `register_test/6` had been around. In looking at the source and the docs, I uncovered what I believe is an incorrect `since` attribute
josevalim pushed a commit to elixir-lang/elixir that referenced this pull request Jun 6, 2024
while addressing the `ExUnit.Case.register_test/3` deprecation in elixir-wallaby/wallaby#776, I wondered how long `register_test/6` had been around. In looking at the source and the docs, I uncovered what I believe is an incorrect `since` attribute
alinmarsh pushed a commit to TernSystems/wallaby that referenced this pull request Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants