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

ruby-changes:3376

From: ko1@a...
Date: 3 Jan 2008 20:26:26 +0900
Subject: [ruby-changes:3376] ryan - Ruby:r14869 (trunk): Added known bug from ruby-coRe: 14537

ryan	2008-01-03 20:26:10 +0900 (Thu, 03 Jan 2008)

  New Revision: 14869

  Modified files:
    trunk/bootstraptest/test_knownbug.rb

  Log:
    Added known bug from ruby-core:14537

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/bootstraptest/test_knownbug.rb?r1=14869&r2=14868&diff_format=u

Index: bootstraptest/test_knownbug.rb
===================================================================
--- bootstraptest/test_knownbug.rb	(revision 14868)
+++ bootstraptest/test_knownbug.rb	(revision 14869)
@@ -3,4 +3,13 @@
 # So all tests will cause failure.
 #
 
+assert_equal 'ok', %q{
+  class X < RuntimeError;end
+  x = [X]
+  begin
+   raise X
+  rescue *x
+   :ok
+  end
+}, '[ruby-core:14537]'
 

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

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