aboutsummaryrefslogtreecommitdiffstats
path: root/test/fiddle/helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/fiddle/helper.rb')
-rw-r--r--test/fiddle/helper.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/fiddle/helper.rb b/test/fiddle/helper.rb
index ad69f55e69..209dedb6fc 100644
--- a/test/fiddle/helper.rb
+++ b/test/fiddle/helper.rb
@@ -1,5 +1,4 @@
require 'minitest/autorun'
-require 'dl'
require 'fiddle'
# FIXME: this is stolen from DL and needs to be refactored.
@@ -104,8 +103,8 @@ Fiddle::LIBM_SO = libm_so
module Fiddle
class TestCase < MiniTest::Unit::TestCase
def setup
- @libc = DL.dlopen(LIBC_SO)
- @libm = DL.dlopen(LIBM_SO)
+ @libc = Fiddle.dlopen(LIBC_SO)
+ @libm = Fiddle.dlopen(LIBM_SO)
end
end
end