Skip to content

Commit 0d1ccba

Browse files
committed
remove dead code found by type system
1 parent 0f80eb8 commit 0d1ccba

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/phoenix/live_dashboard/reingold_tilford_test.exs

-4
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,6 @@ defmodule Phoenix.LiveDashboard.ReingoldTilfordTest do
130130
end
131131
end
132132

133-
defp validate_x_separation_between_nodes(%{children: []} = node, ancestor_x_coordinate) do
134-
if ancestor_x_coordinate + @node_x_separation <= node, do: true, else: false
135-
end
136-
137133
defp validate_x_separation_between_nodes(
138134
%{children: children} = ancestor,
139135
ancestor_x_coordinate

0 commit comments

Comments
 (0)