Skip to content

Commit

Permalink
bundle exec rubocop -A
Browse files Browse the repository at this point in the history
Personally I will not be happy with this cop, I intentionally specified _ variables
But no motivation to change it for now...

rubocop/rubocop#12370
  • Loading branch information
kachick committed Dec 4, 2023
1 parent 5f6e291 commit c321e03
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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_value do |ulids_in_the_time|
ulids_in_the_time.sort.each_cons(2) do |pred, succ|
assert do
pred.to_i.succ == succ.to_i
Expand Down

0 comments on commit c321e03

Please sign in to comment.