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

Fix test failing on elixir 1.15 #592

Merged
merged 16 commits into from
Sep 4, 2023
Merged

Fix test failing on elixir 1.15 #592

merged 16 commits into from
Sep 4, 2023

Conversation

FelonEkonom
Copy link
Member

@FelonEkonom FelonEkonom added the no-changelog This label has to be added if changes from the PR are not meant to be placed in the CHANGELOG.md label Aug 28, 2023
@FelonEkonom FelonEkonom marked this pull request as draft August 28, 2023 17:24
@FelonEkonom FelonEkonom marked this pull request as ready for review September 1, 2023 14:58
Comment on lines 46 to 47
message.()
|> message_result_mapper.()
Copy link
Member

Choose a reason for hiding this comment

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

why not just case?

Copy link
Member Author

@FelonEkonom FelonEkonom Sep 1, 2023

Choose a reason for hiding this comment

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

Because of credo error caused by dept = 3. This is a workaround to avoid it. I was not convinced to create a separate public function especially for this single usage

Copy link
Member

Choose a reason for hiding this comment

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

So I'd disable this warning locally (or increase dept to 3 globally?) or find another way to write this

test/membrane/testing/pipeline_test.exs Show resolved Hide resolved
@FelonEkonom FelonEkonom merged commit 5da3f0d into master Sep 4, 2023
1 check passed
@FelonEkonom FelonEkonom deleted the fix-tests-elixir-1.15 branch September 4, 2023 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog This label has to be added if changes from the PR are not meant to be placed in the CHANGELOG.md
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants