mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
only execute struct tests if struct feature is activated
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
##
|
||||
# Struct ISO Test
|
||||
|
||||
if StructEnabled
|
||||
if Object.const_defined?(:Struct)
|
||||
assert('Struct', '15.2.18') do
|
||||
Struct.class == Class
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user