Skip to content

Commit 1bc26d1

Browse files
committed
Bump rubocop
1 parent 8fbb1ce commit 1bc26d1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ gem "minitest", "~> 5.0"
1616
gem "mocha"
1717

1818
group :development do
19-
gem "rubocop", "~> 1.28.2" # Ruby 2.5 support
19+
gem "rubocop", "~> 1.50.2" # Ruby 2.6 support
2020
end

test/load_path_cache/change_observer_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def test_observes_changes
2929
@arr.unshift("f", "g")
3030

3131
@observer.expects(:push_paths).with(@arr, "h", "i")
32-
@arr.concat(%w(h i))
32+
@arr.push("h", "i")
3333

3434
@observer.expects(:unshift_paths).with(@arr, "j", "k")
3535
@arr.prepend("j", "k")
@@ -46,7 +46,7 @@ def test_unregister
4646
@arr.push("b", "c")
4747
@arr.append("d", "e")
4848
@arr.unshift("f", "g")
49-
@arr.concat(%w(h i))
49+
@arr.push("h", "i")
5050
@arr.prepend("j", "k")
5151
@arr.delete(3)
5252
@arr.compact!

0 commit comments

Comments
 (0)