Skip to content

Commit

Permalink
fixup tests for list_nodes_by_episode_sorted
Browse files Browse the repository at this point in the history
fix credo
  • Loading branch information
electronicbites committed Aug 1, 2024
1 parent 674783d commit d2b6f12
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/radiator/outline_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -771,8 +771,7 @@ defmodule Radiator.OutlineTest do

num_nodes_without_parents =
tree
|> Enum.filter(fn n -> n.parent_id == nil end)
|> Enum.count
|> Enum.count(fn n -> n.parent_id == nil end)

assert num_nodes_without_parents == 3
end
Expand Down

0 comments on commit d2b6f12

Please sign in to comment.