From 9481face427a93e1a557ecd980ec82f5d04da8d5 Mon Sep 17 00:00:00 2001 From: matz Date: Sat, 7 Jun 2003 15:34:31 +0000 Subject: * parse.y (value_expr0): class and module statements should not be warned for "void value expression". [ruby-talk:72989] * gc.c (add_final): should determine type by respond_to? * gc.c (define_final): ditto. * io.c (rb_io_ctl): should not depend on respond_to? * range.c (range_step): rb_check_string_type(). * process.c (proc_setgroups): new functions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- sample/test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sample') diff --git a/sample/test.rb b/sample/test.rb index c4a0c6176a..7d4c2f9584 100644 --- a/sample/test.rb +++ b/sample/test.rb @@ -1031,7 +1031,7 @@ test_ok(block.clone.call == 11) test_ok(proc.clone.call == 44) test_ok(get_block(&block).class == Block) -test_ok(get_block(&proc).class == Proc) +test_ok(get_block(&proc).class == Block) test_ok(Block.new{|a,| a}.call(1,2,3) == 1) argument_test(false, Proc.new{|a,| p a}, 1,2) -- cgit v1.2.3