mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 04:55:21 +02:00
Update to ruby/mspec@fef9b81
This commit is contained in:
parent
03dd37775a
commit
cd5e6cc0ea
1 changed files with 1 additions and 1 deletions
|
@ -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|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue