Skip to content

Conversation

@sabiwara
Copy link
Contributor

@sabiwara sabiwara commented Jan 9, 2025

Close #14157

Screenshot 2025-01-09 at 9 05 36


defp rebuild_split_strings(%{contents: contents, delimiter: delimiter}, right) do
%{contents: contents ++ [{false, right}], delimiter: delimiter}
{new_right, diff} = extract_diff_meta(right)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

{:__block__, [diff: true], ["beautifu world"]} gets unpacked as {"beautifu world", true}

Copy link
Member

@josevalim josevalim left a comment

Choose a reason for hiding this comment

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

Please backport!

@sabiwara sabiwara merged commit 059071a into elixir-lang:main Jan 9, 2025
9 checks passed
@sabiwara sabiwara deleted the assert-crash branch January 9, 2025 09:26
@sabiwara
Copy link
Contributor Author

sabiwara commented Jan 9, 2025

Backported

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Process crashes after failed match during an ExUnit test

2 participants