Skip to content

Deprecation and compilation warnings so it can be used for Elixir 1.13 - 1.19#97

Open
csommerauer wants to merge 3 commits into
cabbage-ex:masterfrom
elixir-fintech:fix-version-issues
Open

Deprecation and compilation warnings so it can be used for Elixir 1.13 - 1.19#97
csommerauer wants to merge 3 commits into
cabbage-ex:masterfrom
elixir-fintech:fix-version-issues

Conversation

@csommerauer
Copy link
Copy Markdown

Takes care of

  1. ExUnit.Case.register_test/4 deprecation warning for elixir >= 1.17
  2. ExUnit API changes while still supporting 1.13 - 1.19
  3. Various compilation warnings by bumping ex_doc and excoveralls

- Use apply/3 for register_test to avoid deprecation warning on >= 1.17
- Convert ExUnit context to map for Map.merge compatibility on 1.19
- Fix test helper version detection for ExUnit.Server API changes
- Handle ExUnit.Runner.run tuple return on >= 1.17
- Adjust regex struct equality assertion for 1.18+
- Relax BadMapError message assertion for 1.19 formatting change
…ings

- ex_doc ~> 0.19 → ~> 0.40
- excoveralls ~> 0.10 → ~> 0.18
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.

1 participant