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

ruby-changes:4793

From: ko1@a...
Date: Sun, 4 May 2008 16:49:43 +0900 (JST)
Subject: [ruby-changes:4793] akr - Ruby:r16287 (trunk): add a test.

akr	2008-05-04 16:49:32 +0900 (Sun, 04 May 2008)

  New Revision: 16287

  Modified files:
    trunk/bootstraptest/test_knownbug.rb

  Log:
    add a test.


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

Index: bootstraptest/test_knownbug.rb
===================================================================
--- bootstraptest/test_knownbug.rb	(revision 16286)
+++ bootstraptest/test_knownbug.rb	(revision 16287)
@@ -212,3 +212,12 @@
 assert_normal_exit %q{
   [1,2,3].slice!(1,10000).inspect
 }
+
+assert_equal 'ok', %q{
+  begin
+    eval("class nil::Foo; end")
+    :ng
+  rescue Exception
+    :ok
+  end
+}

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

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