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:
parent
ad01ea426c
commit
8f9b451dd8
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue