summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-02-17 00:19:29 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-02-17 00:19:29 +0000
commit676cf9b5274d789f5e040a63115487a16c9987fe (patch)
tree6518a659f6aa5a7444c11753a7710e0caf3d18fd
parentd1925e649f31f01a61a2766b9aac1dc6420ffcd1 (diff)
* test/dl/test_method.rb: sinf(3) is in libm.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-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 e1ed5ed88b..4c104aaa04 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