You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rubygem-method_source/rubygem-method_source-0.8.2...

14 lines
478 B

diff --git a/test/test.rb b/test/test.rb
index 4743a50..b99f717 100644
--- a/test/test.rb
+++ b/test/test.rb
@@ -13,7 +13,7 @@
end
it 'should not raise for immediate instance methods' do
- [Symbol, Fixnum, TrueClass, FalseClass, NilClass].each do |immediate_class|
+ [Symbol, Integer, TrueClass, FalseClass, NilClass].each do |immediate_class|
lambda { immediate_class.instance_method(:to_s).source_location }.should.not.raise
end
end