Skip to content

Commit

Permalink
Use a literal for expected value
Browse files Browse the repository at this point in the history
  • Loading branch information
jzimbel-mbta committed Aug 5, 2024
1 parent 63c81de commit bb1bc86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/transit_data/glides_report/util_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ defmodule TransitData.GlidesReport.UtilTest do
objects = [a: 1, b: 2, c: 3, d: 4]
:ets.insert(table, objects)

values = Keyword.values(objects)
expected_values = [1, 2, 3, 4]
values_stream = Util.stream_values(table)

assert Enum.sort(values) == Enum.sort(values_stream)
assert expected_values == Enum.sort(values_stream)
end
end
end

0 comments on commit bb1bc86

Please sign in to comment.