diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 12cfa07e..595691ee 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,10 +16,10 @@ jobs: matrix: os: [ubuntu-latest] ruby-version: - - "3.0" - "3.1" - "3.2" - "3.3" + - "3.4" runs-on: ${{ matrix.os }} diff --git a/test/standard/runners/rubocop_test.rb b/test/standard/runners/rubocop_test.rb index ad19e0f4..ee00a88e 100644 --- a/test/standard/runners/rubocop_test.rb +++ b/test/standard/runners/rubocop_test.rb @@ -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)