Commit 8a15ab0c authored by Yasuhiro Matsumoto's avatar Yasuhiro Matsumoto

add test for public_methods(false)

parent 8764bd28
...@@ -423,6 +423,11 @@ end ...@@ -423,6 +423,11 @@ end
assert('Kernel#public_methods', '15.3.1.3.38') do assert('Kernel#public_methods', '15.3.1.3.38') do
assert_equal Array, public_methods.class assert_equal Array, public_methods.class
class Foo
def foo
end
end
assert_equal [:foo], Foo.new.public_methods(false)
end end
# Kernel#puts is defined in mruby-print mrbgem. '15.3.1.3.39' # Kernel#puts is defined in mruby-print mrbgem. '15.3.1.3.39'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment