From cd5e6cc0ea48353c88d921b885b552dc76da255c Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Thu, 5 Jan 2023 19:05:27 +0100 Subject: [PATCH] Update to ruby/mspec@fef9b81 --- spec/mspec/tool/tag_from_output.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/mspec/tool/tag_from_output.rb b/spec/mspec/tool/tag_from_output.rb index 23a5dc0fb3..a6e60945cd 100755 --- a/spec/mspec/tool/tag_from_output.rb +++ b/spec/mspec/tool/tag_from_output.rb @@ -30,7 +30,7 @@ output.slice_before(NUMBER).select { |number, *rest| if spec_file spec_file = spec_file[SPEC_FILE, 1] or raise else - if error_line =~ /^(\w+)#(\w+) / + if error_line =~ /^(\w+)[#\.](\w+) / module_method = error_line.split(' ', 2).first file = "#{$1.downcase}/#{$2}_spec.rb" spec_file = ['spec/ruby/core', 'spec/ruby/library', *Dir.glob('spec/ruby/library/*')].find { |dir|