From 7ce9ab664d5b52bae8a4b70f2f69ff07b0ddafc9 Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 8 May 2008 06:59:38 +0000 Subject: test/ruby/test_continuation.rb: remove duplicated test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_continuation.rb | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'test') diff --git a/test/ruby/test_continuation.rb b/test/ruby/test_continuation.rb index 2725996504..09787c1589 100644 --- a/test/ruby/test_continuation.rb +++ b/test/ruby/test_continuation.rb @@ -51,19 +51,5 @@ class TestContinuation < Test::Unit::TestCase c.call } end - - def test_sort - assert_normal_exit(<<-'End') - require 'continuation' - n = 1000 - ary = (1..100).to_a - ary.sort! {|a,b| - callcc {|k| $k = k } if !defined? $k - a <=> b - } - n -= 1 - $k.call if 0 < n - End - end end -- cgit v1.2.3