add test for public_methods(false)

This commit is contained in:
Yasuhiro Matsumoto
2016-06-18 01:21:21 +09:00
parent 8764bd282c
commit 8a15ab0c0c
+5
View File
@@ -423,6 +423,11 @@ end
assert('Kernel#public_methods', '15.3.1.3.38') do
assert_equal Array, public_methods.class
class Foo
def foo
end
end
assert_equal [:foo], Foo.new.public_methods(false)
end
# Kernel#puts is defined in mruby-print mrbgem. '15.3.1.3.39'