1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
kazu 2012-11-30 17:14:24 +00:00
parent ad01ea426c
commit 8f9b451dd8

View file

@ -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