Skip to content

Commit

Permalink
remove dead code found by type system
Browse files Browse the repository at this point in the history
  • Loading branch information
SteffenDE committed Dec 4, 2024
1 parent 6b776e5 commit 93627a3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions test/phoenix/live_dashboard/reingold_tilford_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,6 @@ defmodule Phoenix.LiveDashboard.ReingoldTilfordTest do
end
end

defp validate_x_separation_between_nodes(%{children: []} = node, ancestor_x_coordinate) do
if ancestor_x_coordinate + @node_x_separation <= node, do: true, else: false
end

defp validate_x_separation_between_nodes(
%{children: children} = ancestor,
ancestor_x_coordinate
Expand Down

0 comments on commit 93627a3

Please sign in to comment.