diff --git a/test/concurrency/test_ulid_monotonic_generator_thread_safety.rb b/test/concurrency/test_ulid_monotonic_generator_thread_safety.rb index ffb34432..695a7dc2 100644 --- a/test/concurrency/test_ulid_monotonic_generator_thread_safety.rb +++ b/test/concurrency/test_ulid_monotonic_generator_thread_safety.rb @@ -41,7 +41,7 @@ def test_thread_safe_generate_without_arguments ulids_by_the_time.keys.all?(possible_period) end - ulids_by_the_time.sort.each do |_time, ulids_in_the_time| + ulids_by_the_time.sort.each do |(_time, ulids_in_the_time)| ulids_in_the_time.sort.each_cons(2) do |pred, succ| assert do pred.to_i.succ == succ.to_i