From d833e3db01f8a293c36d1df14cb9d8fff600ea73 Mon Sep 17 00:00:00 2001 From: nahi Date: Fri, 5 Sep 2003 11:34:55 +0000 Subject: * same as the previous commit. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_iterator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ruby/test_iterator.rb') diff --git a/test/ruby/test_iterator.rb b/test/ruby/test_iterator.rb index 4b9e7c17a1..2c367d22dc 100644 --- a/test/ruby/test_iterator.rb +++ b/test/ruby/test_iterator.rb @@ -203,7 +203,7 @@ class TestIterator < Test::Unit::TestCase def test_proc assert_instance_of(Proc, lambda{}) assert_instance_of(Proc, Proc.new{}) - lambda{|a|assert(a==1)}.call(1) + lambda{|a|assert_equal(a, 1)}.call(1) end def test_block -- cgit v1.2.3