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

ruby-changes:26794

From: naruse <ko1@a...>
Date: Wed, 16 Jan 2013 14:30:32 +0900 (JST)
Subject: [ruby-changes:26794] naruse:r38846 (trunk): Remove commenting out tests introduced by r38478

naruse	2013-01-16 14:30:20 +0900 (Wed, 16 Jan 2013)

  New Revision: 38846

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

  Log:
    Remove commenting out tests introduced by r38478

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

Index: test/ruby/test_fiber.rb
===================================================================
--- test/ruby/test_fiber.rb	(revision 38845)
+++ test/ruby/test_fiber.rb	(revision 38846)
@@ -4,9 +4,7 @@ require 'continuation' https://github.com/ruby/ruby/blob/trunk/test/ruby/test_fiber.rb#L4
 require_relative './envutil'
 
 class TestFiber < Test::Unit::TestCase
-if false
   def test_normal
-    f = Fiber.current
     assert_equal(:ok2,
       Fiber.new{|e|
         assert_equal(:ok1, e)
@@ -79,7 +77,7 @@ if false https://github.com/ruby/ruby/blob/trunk/test/ruby/test_fiber.rb#L77
       f.resume
     }
     assert_raise(RuntimeError){
-      f = Fiber.new{
+      Fiber.new{
         @c = callcc{|c| @c = c}
       }.resume
       @c.call # cross fiber callcc
@@ -279,7 +277,6 @@ if false https://github.com/ruby/ruby/blob/trunk/test/ruby/test_fiber.rb#L277
       puts :ng # unreachable.
     EOS
   end
-end
 
   def invoke_rec script, vm_stack_size, machine_stack_size, use_length = true
     env = {}

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

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