Skip to content

Address deprecation warnings#49

Open
emkguts wants to merge 1 commit intohauleth:masterfrom
emkguts:address-deprecation-warnings
Open

Address deprecation warnings#49
emkguts wants to merge 1 commit intohauleth:masterfrom
emkguts:address-deprecation-warnings

Conversation

@emkguts
Copy link
Copy Markdown

@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