Skip to content

Conversation

@mentels
Copy link

@mentels mentels commented Jan 26, 2023

In 1.14.2 changes were made to the ExUnit.Server so that the ExUnit.Server.loaded_modules/0 became ExUnit.Server.loaded_modules/1.

This PR fixes that by calling ExUnit.Server.loaded_modules(false) for Elixir versions >= 1.14.2.

|> String.split(".")
|> Enum.at(1)
|> String.to_integer() >= 6
defp version_eq_than?(1, minor, patch) do
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mentels I appreciate the PR and the comments.

As a testing library, would you be able to add a couple of tests for this?

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