File tree Expand file tree Collapse file tree 2 files changed +1
-13
lines changed
Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -847,13 +847,6 @@ def find_external_alias_named(name)
847847 end
848848 end
849849
850- ##
851- # Finds a file with +name+ in this context
852-
853- def find_file_named name
854- @store . find_file_named name
855- end
856-
857850 ##
858851 # Finds an instance method with +name+ in this context
859852
@@ -871,7 +864,7 @@ def find_local_symbol(symbol)
871864 find_attribute_named ( symbol ) or
872865 find_external_alias_named ( symbol ) or
873866 find_module_named ( symbol ) or
874- find_file_named ( symbol )
867+ @store . find_file_named ( symbol )
875868 end
876869
877870 ##
Original file line number Diff line number Diff line change @@ -538,11 +538,6 @@ def test_find_enclosing_module_named
538538 assert_equal @c2 , @c2_c3 . find_enclosing_module_named ( 'C2' )
539539 end
540540
541- def test_find_file_named
542- assert_nil @c1 . find_file_named ( 'nonexistent.rb' )
543- assert_equal @xref_data , @c1 . find_file_named ( @file_name )
544- end
545-
546541 def test_find_instance_method_named
547542 assert_nil @c1 . find_instance_method_named ( 'none' )
548543
You can’t perform that action at this time.
0 commit comments