diff options
| author | Yasuhiro Matsumoto <[email protected]> | 2016-06-18 01:21:21 +0900 |
|---|---|---|
| committer | Yasuhiro Matsumoto <[email protected]> | 2016-06-18 01:21:21 +0900 |
| commit | 8a15ab0c0cd8cd71cf315b6a2e40780cbf213cf1 (patch) | |
| tree | 2371d8e9147154954ff9980f91c4b15d989d9e49 /test/t/kernel.rb | |
| parent | 8764bd282c346cec3581e380b9a20a1761cba059 (diff) | |
| download | mruby-8a15ab0c0cd8cd71cf315b6a2e40780cbf213cf1.tar.gz mruby-8a15ab0c0cd8cd71cf315b6a2e40780cbf213cf1.zip | |
add test for public_methods(false)
Diffstat (limited to 'test/t/kernel.rb')
| -rw-r--r-- | test/t/kernel.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/t/kernel.rb b/test/t/kernel.rb index 6df2294d5..927166283 100644 --- a/test/t/kernel.rb +++ b/test/t/kernel.rb @@ -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' |
