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