diff options
| author | Daniel Bovensiepen <[email protected]> | 2012-06-21 15:01:39 +0800 |
|---|---|---|
| committer | Daniel Bovensiepen <[email protected]> | 2012-06-21 15:01:39 +0800 |
| commit | 8e89cd456cca0402c639d31031df29fceaa49ef6 (patch) | |
| tree | d957bc1d250e415b0b2102ac6ea024c121249f4d | |
| parent | 162b3625d0f7ab3cba2163544bf0a2d1256d3000 (diff) | |
| download | mruby-8e89cd456cca0402c639d31031df29fceaa49ef6.tar.gz mruby-8e89cd456cca0402c639d31031df29fceaa49ef6.zip | |
only execute math tests if math feature is activated
| -rw-r--r-- | test/t/math.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/t/math.rb b/test/t/math.rb index d60d80ae7..025551b82 100644 --- a/test/t/math.rb +++ b/test/t/math.rb @@ -1,7 +1,7 @@ ## # Math Test -if MathEnabled +if Object.const_defined?(:Math) assert('Math.sin 0') do check_float(Math.sin(0), 0) end |
