diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2019-01-03 11:34:35 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2019-01-03 11:34:35 +0900 |
| commit | cca19532c5f71e1bdc0b4947b2fcddd181f27781 (patch) | |
| tree | c65545fead5be8f7c7a5d4010fc12c4823751d55 /test/t/class.rb | |
| parent | f9d89e3fa592706de6a6dee701af3961df914292 (diff) | |
| download | mruby-cca19532c5f71e1bdc0b4947b2fcddd181f27781.tar.gz mruby-cca19532c5f71e1bdc0b4947b2fcddd181f27781.zip | |
Remove `Kernel#class_defined?` which is not available in CRuby; #3829
Diffstat (limited to 'test/t/class.rb')
| -rw-r--r-- | test/t/class.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/t/class.rb b/test/t/class.rb index 85450f200..f37a891a4 100644 --- a/test/t/class.rb +++ b/test/t/class.rb @@ -350,7 +350,7 @@ assert('singleton tests') do 7 end end - end if class_defined?("Float") + end if Object.const_defined?(:Float) end assert('clone Class') do |
