Skip to content

Commit

Permalink
Bump rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
byroot committed Dec 14, 2023
1 parent 8fbb1ce commit 1bc26d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ gem "minitest", "~> 5.0"
gem "mocha"

group :development do
gem "rubocop", "~> 1.28.2" # Ruby 2.5 support
gem "rubocop", "~> 1.50.2" # Ruby 2.6 support
end
4 changes: 2 additions & 2 deletions test/load_path_cache/change_observer_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def test_observes_changes
@arr.unshift("f", "g")

@observer.expects(:push_paths).with(@arr, "h", "i")
@arr.concat(%w(h i))
@arr.push("h", "i")

@observer.expects(:unshift_paths).with(@arr, "j", "k")
@arr.prepend("j", "k")
Expand All @@ -46,7 +46,7 @@ def test_unregister
@arr.push("b", "c")
@arr.append("d", "e")
@arr.unshift("f", "g")
@arr.concat(%w(h i))
@arr.push("h", "i")
@arr.prepend("j", "k")
@arr.delete(3)
@arr.compact!
Expand Down

0 comments on commit 1bc26d1

Please sign in to comment.