From ef1ccbbc40cbfa512b2be0eeb7793c3532ff5e20 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 12 Sep 2005 23:09:39 +0000 Subject: * lib/ostruct.rb (new_ostruct_member): Object#send no longer call private methods. [ruby-dev:27044] * test/rss/test_dublincore.rb, test/rss/test_trackback.rb, test/ruby/test_eval.rb, test/socket/test_socket.rb: ditto. * test/ruby/test_lambda (test_call_with_block): lambda makes new scope for formal block parameter. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/rss/test_trackback.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/rss/test_trackback.rb') diff --git a/test/rss/test_trackback.rb b/test/rss/test_trackback.rb index a3f023e887..2f92a0b1fe 100644 --- a/test/rss/test_trackback.rb +++ b/test/rss/test_trackback.rb @@ -114,7 +114,7 @@ EOR @parents.each do |parent| meth = "#{RSS::TRACKBACK_PREFIX}_#{name}_element" meth << "s" if name == :about - assert_equal(excepted, @rss.send(parent).send(meth)) + assert_equal(excepted, @rss.send(parent).fcall(meth)) end end -- cgit v1.2.3