ruby-changes:26020
From: kazu <ko1@a...>
Date: Sat, 1 Dec 2012 02:15:14 +0900 (JST)
Subject: [ruby-changes:26020] kazu:r38078 (trunk): assert_in_out_err with block ignores test_stdout
kazu 2012-12-01 02:14:24 +0900 (Sat, 01 Dec 2012) New Revision: 38078 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=38078 Log: assert_in_out_err with block ignores test_stdout Modified files: trunk/test/dl/test_handle.rb Index: test/dl/test_handle.rb =================================================================== --- test/dl/test_handle.rb (revision 38077) +++ test/dl/test_handle.rb (revision 38078) @@ -159,11 +159,11 @@ # 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/