summaryrefslogtreecommitdiffstats
path: root/test/dl/test_func.rb
diff options
context:
space:
mode:
authortenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-13 07:19:59 +0000
committertenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-11-13 07:19:59 +0000
commitdc5143b49ae997e5449d51c8fcc0551d74cede63 (patch)
tree5c08eec132ce21bad5570da86197904909fbb7bd /test/dl/test_func.rb
parent416a12288313de8c6192bf9c94e4ecd35f22032e (diff)
downloadruby-dc5143b49ae997e5449d51c8fcc0551d74cede63.tar.gz
ruby-dc5143b49ae997e5449d51c8fcc0551d74cede63.tar.xz
ruby-dc5143b49ae997e5449d51c8fcc0551d74cede63.zip
* test/dl/test_cptr.rb (**): using ruby_xfree instead of libc's free
* test/dl/test_func.rb (test_strdod): strtod needs a char ** argument git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 522cbd425..99953a448 100644
--- a/test/dl/test_func.rb
+++ b/test/dl/test_func.rb
@@ -35,7 +35,7 @@ module DL
[TYPE_VOIDP, TYPE_VOIDP])
buff1 = CPtr["12.34"]
buff2 = buff1 + 4
- r = f.call(buff1, buff2)
+ r = f.call(buff1, - buff2)
assert_in_delta(12.34, r, 0.001)
end