ruby-changes:9356
From: takano32 <ko1@a...>
Date: Sun, 21 Dec 2008 10:45:18 +0900 (JST)
Subject: [ruby-changes:9356] Ruby:r20893 (trunk): * sample/test.rb: rescue exception.
takano32 2008-12-21 10:44:58 +0900 (Sun, 21 Dec 2008) New Revision: 20893 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=20893 Log: * sample/test.rb: rescue exception. Modified files: trunk/ChangeLog trunk/sample/test.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 20892) +++ ChangeLog (revision 20893) @@ -1,3 +1,7 @@ +Sun Dec 21 10:43:10 2008 TAKANO Mitsuhiro (takano32) <tak@n...> + + * sample/test.rb: rescue exception. + Sat Dec 20 18:28:26 2008 Nobuyoshi Nakada <nobu@r...> * dln.c (dln_find_1): supplements an extension for executable Index: sample/test.rb =================================================================== --- sample/test.rb (revision 20892) +++ sample/test.rb (revision 20893) @@ -660,8 +660,8 @@ raise $string end test_ok(false) -rescue - test_ok(true) if $! == $string +rescue => e + test_ok(true) if $! == e end # exception in ensure clause -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/