Skip to content

Commit 3c45817

Browse files
committed
Suppress Rubocop warning in core/module/autoload_spec.rb
1 parent 2a3686a commit 3c45817

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/module/autoload_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -948,7 +948,7 @@ class ModuleSpecs::Autoload::Z < ModuleSpecs::Autoload::ZZ
948948

949949
begin
950950
Object.const_get(mod_name).foo
951-
rescue NameError, NoMethodError
951+
rescue NameError, NoMethodError # rubocop:disable Lint/ShadowedException
952952
barrier.disable!
953953
break false
954954
end

0 commit comments

Comments
 (0)