summaryrefslogtreecommitdiff
path: root/spec/mspec/tool/tag_from_output.rb
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2023-01-05 19:05:27 +0100
committerBenoit Daloze <eregontp@gmail.com>2023-01-05 19:05:27 +0100
commitcd5e6cc0ea48353c88d921b885b552dc76da255c (patch)
tree1f9fffdc355a58147f8afd92b3e3073a8c02dab5 /spec/mspec/tool/tag_from_output.rb
parent03dd37775afb40eef392ae2920d728235af302c8 (diff)
Update to ruby/mspec@fef9b81
Diffstat (limited to 'spec/mspec/tool/tag_from_output.rb')
-rwxr-xr-xspec/mspec/tool/tag_from_output.rb2
1 files changed, 1 insertions, 1 deletions
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|