From 945fdf609166187321bee53d641957e918efb155 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 25 Dec 2024 18:44:05 +0900 Subject: [PATCH] Relax regexp for Ruby 3.5 --- spec/bundled_gems_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/bundled_gems_spec.rb b/spec/bundled_gems_spec.rb index 46443ea250..77eb9c6380 100644 --- a/spec/bundled_gems_spec.rb +++ b/spec/bundled_gems_spec.rb @@ -128,7 +128,7 @@ RSpec.describe "bundled_gems.rb" do require "fiddle/import" RUBY - expect(err).to include(/fiddle\/import is found in fiddle, which will no longer be part of the default gems starting from Ruby 3\.5\.0/) + expect(err).to include(/fiddle\/import is found in fiddle, (.*) part of the default gems starting from Ruby 3\.5\.0/) expect(err).to include(/-e:7/) end