Skip to content

Address deprecation warnings #49

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

emkguts
Copy link

@emkguts emkguts commented Feb 11, 2025

There are several deprecation warnings when running mix test, and this PR addresses those warnings. Specifically:

  • Stop using _.._ and instead use _.._//_, which addresses the warning: min..max inside match is deprecated, you must always match on the step: min..max//var or min..max//_ if you want to ignore it
  • Upgrade stream_data dep, which causes several warnings of the form: ExUnit.Case.register_test/4 is deprecated. Use register_test/6 instead.
  • Stop using Code.put_compiler_option(:warnings_as_errors, false) in order to address :warnings_as_errors is deprecated as part of Code.put_compiler_option/2, pass it as option to Kernel.ParallelCompiler instead.

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

Successfully merging this pull request may close these issues.

1 participant