Project

General

Profile

Bug #9311 ยป bug9311-test.diff

tmm1 (Aman Karmani), 01/15/2014 11:50 PM

View differences:

test/ruby/test_class.rb
assert_predicate(self.singleton_class, :singleton_class?, feature7609)
assert_not_predicate(self.class, :singleton_class?, feature7609)
end
def test_singleton_class_p_module_function
bug9311 = '[Bug #9311]'
assert_nothing_raised(bug9311) do
mod = Module.new do module_function :singleton_class? end
end
end
end
    (1-1/1)