diff options
| author | mattn <[email protected]> | 2013-03-01 14:42:42 +0900 |
|---|---|---|
| committer | mattn <[email protected]> | 2013-03-01 14:42:42 +0900 |
| commit | 261efd8e9dc3bdaf4438797a9cdb34f7792a5639 (patch) | |
| tree | 2a3b8b19d045089479fbfcece1e1318f17c32223 /test/assert.rb | |
| parent | 4c4cf0a4ce738fde01a047194b52a5389b400e89 (diff) | |
| parent | 138ecf4723078cf8ef4342fb3995db23003eff01 (diff) | |
| download | mruby-261efd8e9dc3bdaf4438797a9cdb34f7792a5639.tar.gz mruby-261efd8e9dc3bdaf4438797a9cdb34f7792a5639.zip | |
Merge branch 'master' into pluggable_struct
Diffstat (limited to 'test/assert.rb')
| -rw-r--r-- | test/assert.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/assert.rb b/test/assert.rb index 269c435a7..86e99db5c 100644 --- a/test/assert.rb +++ b/test/assert.rb @@ -151,9 +151,8 @@ end ## # Performs fuzzy check for equality on methods returning floats -# on the basis of the Math::TOLERANCE constant. def check_float(a, b) - tolerance = Math::TOLERANCE + tolerance = 1e-12 a = a.to_f b = b.to_f if a.finite? and b.finite? |
