diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-04-24 12:04:08 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-04-24 12:04:08 +0900 |
| commit | 4d249c28d9b736882ea26fd1494199733d4df68e (patch) | |
| tree | 37ef5326232e48f4e8173e9051ce67fe61618afb /mrbgems/mruby-random | |
| parent | f46b4056f844de8b182da070c301d2043bb1dac5 (diff) | |
| download | mruby-4d249c28d9b736882ea26fd1494199733d4df68e.tar.gz mruby-4d249c28d9b736882ea26fd1494199733d4df68e.zip | |
Skip tests that use `Float` inside; ref #5421
Diffstat (limited to 'mrbgems/mruby-random')
| -rw-r--r-- | mrbgems/mruby-random/test/random.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mrbgems/mruby-random/test/random.rb b/mrbgems/mruby-random/test/random.rb index f3067748b..37583c5d3 100644 --- a/mrbgems/mruby-random/test/random.rb +++ b/mrbgems/mruby-random/test/random.rb @@ -34,6 +34,7 @@ end assert("return class of Kernel.rand") do assert_kind_of(Integer, rand(3)) assert_kind_of(Integer, rand(1.5)) + skip unless Object.const_defined?(:Float) assert_kind_of(Float, rand) assert_kind_of(Float, rand(0.5)) end |
