We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Running test with a slim template fails with a Diff.many_to_iodata/5 error:
Diff.many_to_iodata/5
** (FunctionClauseError) no function clause matching in Phoenix.LiveView.Diff.many_to_iodata/5 (phoenix_live_view 0.15.4) lib/phoenix_live_view/diff.ex:74: Phoenix.LiveView.Diff.many_to_iodata(["", ""], [], ["media-1", " "], %{}, #Function<13.114466470/2 in Phoenix.LiveViewTest.DOM.render_diff/1>)
The exact same template converted in eex does not fail.
You can reproduce the error with the following repo: https://github.com/rlecostey/liveview_diff_issue mix test runs two tests: one with eex template and another with the slim template, only the latest triggers the error
mix test
I tried debugging within Phoenix.LiveView.Diff but I had a hard time figuring out how exactly this is working 😅
Phoenix.LiveView.Diff
Thanks for your help!
(already opened and closed here: phoenixframework/phoenix_live_view#1391)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Environment
Actual behavior
Running test with a slim template fails with a
Diff.many_to_iodata/5
error:The exact same template converted in eex does not fail.
You can reproduce the error with the following repo: https://github.com/rlecostey/liveview_diff_issue
mix test
runs two tests: one with eex template and another with the slim template, only the latest triggers the errorI tried debugging within
Phoenix.LiveView.Diff
but I had a hard time figuring out how exactly this is working 😅Thanks for your help!
(already opened and closed here: phoenixframework/phoenix_live_view#1391)
The text was updated successfully, but these errors were encountered: