diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0930434..7ced65a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,6 +25,8 @@ jobs: - "3.1" - "3.2" - "3.3" + - "3.4" + - "4.0" steps: - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 diff --git a/test/scientist/experiment_test.rb b/test/scientist/experiment_test.rb index 434e673..9dbb330 100644 --- a/test/scientist/experiment_test.rb +++ b/test/scientist/experiment_test.rb @@ -604,7 +604,7 @@ def @ex.raised(op, exception) assert_equal " \"value\"", lines[2] assert_equal "candidate:", lines[3] assert_equal " #", lines[4] - assert_match %r(test/scientist/experiment_test.rb:\d+:in `block), lines[5] + assert_match %r(test/scientist/experiment_test.rb:\d+:in [`']block), lines[5] end end end