summaryrefslogtreecommitdiffhomepage
path: root/test/t/class.rb
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2019-01-03 11:34:35 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2019-01-03 11:34:35 +0900
commitcca19532c5f71e1bdc0b4947b2fcddd181f27781 (patch)
treec65545fead5be8f7c7a5d4010fc12c4823751d55 /test/t/class.rb
parentf9d89e3fa592706de6a6dee701af3961df914292 (diff)
downloadmruby-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.rb2
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