[前][次][番号順一覧][スレッド一覧]

ruby-changes:23017

From: nobu <ko1@a...>
Date: Fri, 16 Mar 2012 17:38:54 +0900 (JST)
Subject: [ruby-changes:23017] nobu:r35066 (trunk): verbose_warning

nobu	2012-03-16 17:38:24 +0900 (Fri, 16 Mar 2012)

  New Revision: 35066

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=35066

  Log:
    verbose_warning
    
    * test/ruby/envutil.rb (verbose_warning): should not hide execptions.

  Modified files:
    trunk/test/ruby/envutil.rb

Index: test/ruby/envutil.rb
===================================================================
--- test/ruby/envutil.rb	(revision 35065)
+++ test/ruby/envutil.rb	(revision 35066)
@@ -94,9 +94,9 @@
     end
     stderr, $stderr, verbose, $VERBOSE = $stderr, stderr, $VERBOSE, true
     yield stderr
+    return $stderr
   ensure
     stderr, $stderr, $VERBOSE = $stderr, stderr, verbose
-    return stderr
   end
   module_function :verbose_warning
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]