summaryrefslogtreecommitdiff
path: root/test/dl/test_func.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/dl/test_func.rb')
-rw-r--r--test/dl/test_func.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dl/test_func.rb b/test/dl/test_func.rb
index 86ac6301a4..522cbd4257 100644
--- a/test/dl/test_func.rb
+++ b/test/dl/test_func.rb
@@ -36,7 +36,7 @@ module DL
buff1 = CPtr["12.34"]
buff2 = buff1 + 4
r = f.call(buff1, buff2)
- assert_match(12.00..13.00, r)
+ assert_in_delta(12.34, r, 0.001)
end
def test_qsort1()