Skip to content

Commit

Permalink
Removes deprecation warnings while testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
camilopayan committed Jan 14, 2025
1 parent 63ecb63 commit 3c1df47
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/standard/runners/rubocop_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,14 @@ def Foo
OUT

def setup
Warning[:deprecated] = false
@subject = Standard::Runners::Rubocop.new
end

def teardown
Warning[:deprecated] = true
end

def test_empty_output_on_quiet_success
fake_out, fake_err = do_with_fake_io do
@subject.call(create_config)
Expand Down

0 comments on commit 3c1df47

Please sign in to comment.