summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-24 14:31:14 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-24 14:31:14 +0000
commite6746c16e09bc4a29520f253c0bcb693bc43ab04 (patch)
tree21539cf62b51aff176b66337e0565b1ef914b65a /test
parent93924c119fad876d12b80eb7bbce725acb12c25b (diff)
downloadruby-e6746c16e09bc4a29520f253c0bcb693bc43ab04.tar.gz
ruby-e6746c16e09bc4a29520f253c0bcb693bc43ab04.tar.xz
ruby-e6746c16e09bc4a29520f253c0bcb693bc43ab04.zip
* hash.c (rb_hash_each): Hash#each should yield single value.
[ruby-talk:84420] * hash.c (env_each): ditto for ENV.each. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/drb/drbtest.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/drb/drbtest.rb b/test/drb/drbtest.rb
index cc3c4d434..128acf7f3 100644
--- a/test/drb/drbtest.rb
+++ b/test/drb/drbtest.rb
@@ -213,7 +213,7 @@ module DRbCore
end
def test_10_yield_undumped
- @there.xarray2_hash.each do |k, v|
+ @there.xarray2_hash.each_pair do |k, v|
assert_kind_of(String, k)
assert_kind_of(DRbObject, v)
end