summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-30 17:14:24 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-30 17:14:24 +0000
commit8f9b451dd8260417fa57f88c6df09e41535d3c2b (patch)
treea29cccdc70ce275b928ac82778b8984d3d131578 /test
parentad01ea426ceb9939e01c564eff0365a2a5cad196 (diff)
assert_in_out_err with block ignores test_stdout
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/dl/test_handle.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/dl/test_handle.rb b/test/dl/test_handle.rb
index dc75605a2a..34fb33dd17 100644
--- a/test/dl/test_handle.rb
+++ b/test/dl/test_handle.rb
@@ -159,11 +159,11 @@ 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([], <<-INPUT, /\A#<DL::Handle:0x[0-9a-f]+>\z/) do
+ assert_in_out_err(['-W0'], <<-INPUT, /\A#<DL::Handle:0x[0-9a-f]+>\z/)
+ require 'dl'
require 'objspace'
print DL::Handle::NEXT.inspect
INPUT
- end
end
end unless /mswin|mingw/ =~ RUBY_PLATFORM