From aa7e2fdeb66344d5700f47bd786e53dd307eec38 Mon Sep 17 00:00:00 2001 From: Tom Hendrikx Date: Wed, 11 Oct 2023 17:27:06 +0200 Subject: [PATCH] Update test routine Minitest no longer uses the `MiniTest` with capital `T` since forever --- .github/workflows/run_tests.yml | 2 +- test/test.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index db028b5..de2f0ef 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -9,6 +9,6 @@ jobs: submodules: true - uses: ruby/setup-ruby@v1 with: - ruby-version: 3.1 + ruby-version: 3.2 - run: gem install jls-grok minitest - run: ruby test/test.rb diff --git a/test/test.rb b/test/test.rb index c807aca..0cf9bd9 100644 --- a/test/test.rb +++ b/test/test.rb @@ -12,7 +12,7 @@ # It creates test cases from all yaml files in the current # directory. -class TestGrokPatterns < MiniTest::Test +class TestGrokPatterns < Minitest::Test @@test_dir = File.dirname(__FILE__) @@upstream_pattern_dir = @@test_dir + '/logstash-patterns-core/patterns/ecs-v1/'