Update dependencies

ex_slop 0.4.1 => 0.4.2

Introduces a new check around misusing the `length/1` function which
require widespread fixes.
This commit is contained in:
Claudio Ortolina
2026-05-25 19:43:03 +03:00
parent bfcdfc1b90
commit 65b2f3e1f2
27 changed files with 87 additions and 86 deletions
+3 -3
View File
@@ -124,7 +124,7 @@ defmodule MusicLibrary.CollectionTest do
assert [{:group, %{representative: rep, records: records}}] = result
assert rep.id == cd.id
assert length(records) == 2
assert Enum.count_until(records, 3) == 2
# Sorted by purchased_at ascending
assert Enum.map(records, & &1.id) == [cd.id, vinyl.id]
end
@@ -396,7 +396,7 @@ defmodule MusicLibrary.CollectionTest do
lines = String.split(catalog, "\n")
assert record_count == 2
assert length(lines) == 2
assert Enum.count_until(lines, 3) == 2
# Stats section
assert stats =~ "# Stats: 2 releases"
@@ -446,7 +446,7 @@ defmodule MusicLibrary.CollectionTest do
lines = String.split(catalog, "\n")
assert record_count == 1
assert length(lines) == 1
assert Enum.count_until(lines, 2) == 1
line = hd(lines)
assert line =~ "cd"