summaryrefslogtreecommitdiff
path: root/test/dl/test_handle.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/dl/test_handle.rb')
-rw-r--r--test/dl/test_handle.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dl/test_handle.rb b/test/dl/test_handle.rb
index 34fb33dd17..4ef93adf41 100644
--- a/test/dl/test_handle.rb
+++ b/test/dl/test_handle.rb
@@ -159,7 +159,7 @@ module DL
# interface, below, should be used, since getpid() is a function and not a
# data object.)
# --- FreeBSD 8.0 dlsym(3)
- assert_in_out_err(['-W0'], <<-INPUT, /\A#<DL::Handle:0x[0-9a-f]+>\z/)
+ assert_in_out_err(['RUBYOPT' => '-W0'], <<-INPUT, /\A#<DL::Handle:0x[0-9a-f]+>\z/)
require 'dl'
require 'objspace'
print DL::Handle::NEXT.inspect