summaryrefslogtreecommitdiffstats
path: root/test/ruby/test_iterator.rb
diff options
context:
space:
mode:
authornahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-09-06 17:27:58 +0000
committernahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-09-06 17:27:58 +0000
commit904404aca04ad3587920b1a90628a8343bf930f5 (patch)
tree449e30f756b8267489357d3241fbf517c01d4f6c /test/ruby/test_iterator.rb
parent19561c2d83aad1817c1dc6909828d84c425a5ed3 (diff)
downloadruby-904404aca04ad3587920b1a90628a8343bf930f5.tar.gz
ruby-904404aca04ad3587920b1a90628a8343bf930f5.tar.xz
ruby-904404aca04ad3587920b1a90628a8343bf930f5.zip
* test/ruby/test_*.rb: assert_same, assert_match, and so on.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_iterator.rb')
-rw-r--r--test/ruby/test_iterator.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_iterator.rb b/test/ruby/test_iterator.rb
index 296efaf26..4947ed26c 100644
--- a/test/ruby/test_iterator.rb
+++ b/test/ruby/test_iterator.rb
@@ -252,7 +252,7 @@ class TestIterator < Test::Unit::TestCase
assert_nothing_raised {Proc.new{|a,|}.call(1,2)}
end
- def return1_test # !! test_return1 -> return1_test
+ def return1_test
Proc.new {
return 55
}.call + 5
@@ -262,7 +262,7 @@ class TestIterator < Test::Unit::TestCase
assert_equal(55, return1_test())
end
- def return2_test # !! test_return2 -> return2_test
+ def return2_test
lambda {
return 55
}.call + 5