only execute struct tests if struct feature is activated

This commit is contained in:
Daniel Bovensiepen
2012-06-21 15:02:08 +08:00
parent 1baa3faf3f
commit 7a410123dd
+1 -1
View File
@@ -1,7 +1,7 @@
##
# Struct ISO Test
if StructEnabled
if Object.const_defined?(:Struct)
assert('Struct', '15.2.18') do
Struct.class == Class
end