summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/dl/test_method.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dl/test_method.rb b/test/dl/test_method.rb
index e1ed5ed88b8..4c104aaa04d 100644
--- a/test/dl/test_method.rb
+++ b/test/dl/test_method.rb
@@ -4,7 +4,7 @@ require 'dl/func'
module DL
class TestMethod < TestBase
def test_method_call
- f = Method.new(@libc['sinf'], [TYPE_FLOAT], TYPE_FLOAT)
+ f = Method.new(@libm['sinf'], [TYPE_FLOAT], TYPE_FLOAT)
assert_in_delta 1.0, f.call(90 * Math::PI / 180), 0.0001
end
end