1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/ruby/test_*.rb: assert_same, assert_match, and so on.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nahi 2003-09-06 17:27:58 +00:00
parent d7c5b0518a
commit a7357c1965
10 changed files with 29 additions and 29 deletions

View file

@ -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