ruby-changes:3014
From: ko1@a...
Date: 23 Dec 2007 09:15:36 +0900
Subject: [ruby-changes:3014] akr - Ruby:r14506 (trunk): add a test for .
akr 2007-12-23 09:15:23 +0900 (Sun, 23 Dec 2007) New Revision: 14506 Modified files: trunk/bootstraptest/test_knownbug.rb Log: add a test for [ruby-core:14279]. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/bootstraptest/test_knownbug.rb?r1=14506&r2=14505 Index: bootstraptest/test_knownbug.rb =================================================================== --- bootstraptest/test_knownbug.rb (revision 14505) +++ bootstraptest/test_knownbug.rb (revision 14506) @@ -3,3 +3,9 @@ # So all tests will cause failure. # +assert_normal_exit %{ + def foo(&block) + yield if block + end + foo(&:bar) +}, '[ruby-core:14279]' -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml