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