Skip to content

Commit

Permalink
Merge pull request danmayer#475 from fastruby/fixes/minitest-deprecat…
Browse files Browse the repository at this point in the history
…ion-warning

Fix minitest deprecation warning (`assert_nil`)
  • Loading branch information
danmayer authored Apr 3, 2023
2 parents 114d4a6 + 2d1cd23 commit 9a672e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/coverband/collectors/route_tracker_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def setup
test "init correctly" do
Coverband::Collectors::RouteTracker.expects(:supported_version?).returns(true)
tracker = Coverband::Collectors::RouteTracker.new(store: fake_store, roots: "dir")
assert_equal nil, tracker.target.first
assert_nil tracker.target.first
assert !tracker.store.nil?
assert_equal [], tracker.target
assert_equal [], tracker.logged_keys
Expand Down
2 changes: 1 addition & 1 deletion test/coverband/collectors/translation_tracker_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def setup
test "init correctly" do
Coverband::Collectors::TranslationTracker.expects(:supported_version?).returns(true)
tracker = Coverband::Collectors::TranslationTracker.new(store: fake_store, roots: "dir")
assert_equal nil, tracker.target.first
assert_nil tracker.target.first
assert !tracker.store.nil?
assert_equal [], tracker.target
assert_equal [], tracker.logged_keys
Expand Down

0 comments on commit 9a672e1

Please sign in to comment.