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 Nov 9, 2024
1 parent e6e6696 commit 3bce23b
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 3bce23b

Please sign in to comment.