From 7b568b1f78e196ef5b130b09552e40013c82372b Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 16 Feb 2024 11:16:51 +0900 Subject: [PATCH] [rubygems/rubygems] bin/rubocop -a https://github.com/rubygems/rubygems/commit/f79a6a004d --- spec/bundler/runtime/setup_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/bundler/runtime/setup_spec.rb b/spec/bundler/runtime/setup_spec.rb index 8df2a57f96..ccfe5d55b6 100644 --- a/spec/bundler/runtime/setup_spec.rb +++ b/spec/bundler/runtime/setup_spec.rb @@ -1532,7 +1532,7 @@ end RUBY expect(last_command.stdboth).not_to include "FAIL" - expect(err).to match /private method [`']require'/ + expect(err).to match(/private method [`']require'/) end it "memoizes initial set of specs when requiring bundler/setup, so that even if further code mutates dependencies, Bundler.definition.specs is not affected" do